Commit Graph

5555 Commits

Author SHA1 Message Date
Mitchell Hashimoto cddd54c3de fmt 2015-06-23 22:31:24 -07:00
Mitchell Hashimoto 823a9fa878 update CHANGELOG 2015-06-23 22:31:10 -07:00
Mitchell Hashimoto 461f6557c7 config: fix test error 2015-06-23 22:30:41 -07:00
Mitchell Hashimoto fafc32b183 Merge branch 'b-prevent-destroy-type' 2015-06-23 22:29:54 -07:00
Mitchell Hashimoto 1e739d1237 terraform: validate step should still set parent config for inheritence 2015-06-23 22:18:57 -07:00
Mitchell Hashimoto 772fab3609 terraform: don't config provider on validate 2015-06-23 22:14:54 -07:00
Mitchell Hashimoto 4e7fcd4f42 helper/schema: test that validatefunc is not called with computed vals 2015-06-23 22:10:46 -07:00
Mitchell Hashimoto 8daa459e57 terraform: tests to check behavior of computed provider configs 2015-06-23 22:02:56 -07:00
Mitchell Hashimoto 7031cb145c terraform: orphan dependencies should be inverted 2015-06-23 20:41:02 -07:00
zollie 079a26a655 Wrapped Create in a resource.Retry to wait for IAM instance profile propagation 2015-06-23 22:14:53 -04:00
Mitchell Hashimoto 74386655a5 terraform: test for reducing count and using splats 2015-06-23 18:25:08 -07:00
Mitchell Hashimoto e36597cad7 helper/schema: internal validate as part of provider validation
[GH-1291]
2015-06-23 16:52:04 -07:00
Mitchell Hashimoto 4f391902a0 helper/schema: validate objects are objects [GH-2166] 2015-06-23 16:39:02 -07:00
Mitchell Hashimoto b0169adf02 providers/aws: more guards against crashy cases [GH-2308] 2015-06-23 16:23:24 -07:00
Mitchell Hashimoto 09acd1f79d providers/openstack: fix crash case if network is nil [GH-2323] 2015-06-23 16:19:42 -07:00
Radek Simko 642bdd585f Update CHANGELOG.md 2015-06-23 22:53:49 +01:00
Radek Simko 5cf5451d28 Merge pull request #1999 from TimeIncOSS/r53-delegation-set
provider/aws: Add Route 53 delegation set resource
2015-06-23 22:51:47 +01:00
Paul Hinze bc5c34b5f4 Update CHANGELOG.md 2015-06-23 15:44:10 -05:00
Paul Hinze 3f2119c6e7 Merge pull request #2414 from TimeIncOSS/no-color-for-subcommands
Add -no-color option for subcommands
2015-06-23 15:43:37 -05:00
Paul Hinze 2b1038a63a Update CHANGELOG.md 2015-06-23 15:42:57 -05:00
Paul Hinze c154ef9558 Merge pull request #1790 from TimeIncOSS/combine-func
config: Add support for lists to concat
2015-06-23 15:41:59 -05:00
Sander van Harmelen 783fd57ec2 Merge pull request #2435 from svanharmelen/f-add-loadjson
core: add a function to load JSON directly
2015-06-23 22:38:13 +02:00
Sander van Harmelen 01a9ceeed4 Merge pull request #2406 from svanharmelen/b-close-providers-provisioners
core: close provider/provisioner connections when not used anymore
2015-06-23 22:37:10 +02:00
Sander van Harmelen 110cf8b3d4 A close provider should not be an origin node
Removed the `DotOrigin()` func after review of the PR. With this change
the PR is up-to-spec to be merged (as just discussed with Paul in IRC).
2015-06-23 22:31:44 +02:00
Clint da4e9d52c7 Update CHANGELOG.md 2015-06-23 15:08:39 -05:00
Clint 24c4c55511 Merge pull request #2384 from hashicorp/f-aws-flow-logs
provider/aws: Add FlowLog resource
2015-06-23 15:08:00 -05:00
Paul Hinze cf40c6ec01 Update CHANGELOG.md 2015-06-23 15:06:41 -05:00
Paul Hinze 7d26e1408a Merge pull request #2434 from hashicorp/b-sg-rule-crash
provider/aws: fix sg rule crash
2015-06-23 15:01:35 -05:00
Paul Hinze 95235ba2cc Merge pull request #2374 from hashicorp/b-aws-detect-instance-type-drift
provider/aws: detect instance_type drift on aws_instance
2015-06-23 15:01:20 -05:00
Paul Hinze 74fb179127 Merge pull request #2371 from hashicorp/b-fix-tf-show-with-remote-state
core: fix `terraform show` with remote state
2015-06-23 15:01:10 -05:00
Paul Hinze d36223a464 Merge pull request #2347 from hashicorp/f-show-outputs-on-refresh
core: show outputs after `terraform refresh`
2015-06-23 15:00:58 -05:00
Paul Hinze eda5dbdc83 Update CHANGELOG.md 2015-06-23 14:32:46 -05:00
Paul Hinze 86b9f5aa7a Merge pull request #2271 from hashicorp/b-root-block-device-ami-mismatch
provider/aws: fix root_block_device for odd AMIs
2015-06-23 14:30:58 -05:00
Paul Hinze 7a595fb6a6 Update CHANGELOG.md 2015-06-23 14:30:28 -05:00
Paul Hinze 35f296e802 Merge pull request #2425 from hashicorp/f-ssh-bastion
communicator/ssh: bastion host support
2015-06-23 14:29:34 -05:00
Paul Hinze e0fccf2dcc provider/aws: fix sg rule crash
Fixes crash in #2431

Decided that `findResourceSecurityGroup` should return an error when
the SG is not found, since the callers cannot happily continue with a
`nil` SG

Also passes through a few error cases that were being swallowed.

/cc @catsby
2015-06-23 09:25:55 -05:00
Sander van Harmelen c62370f9e9 Add a function to load JSON directly
Without this 12 line function it’s impossible to use any of the
Terraform code without the need for having the files on disk. As more
and more people are using (parts of) Terraform in other software, this
seems to be a very welcome addition. It has no negative impact on
Terraform itself whatsoever (the function is never called), but it
opens up a lot of other use cases.

Next to the single new function, I renamed the existing function (and
related tests) to better reflect what the function does. So now there
is a `LoadDir` function which calls `LoadFile` for each file, which
kind of made sense to me, especially when now adding a `LoadJSON`
function as well.

But of course if the rename is a problem, I can revert that part as
it’s not related to the added `LoadJSON` function.

Thanks!
2015-06-23 16:15:26 +02:00
Paul Hinze 020dc03234 provider/aws: fix root_block_device for odd AMIs
Some AMIs have a RootDeviceName like "/dev/sda1" that does not appear as a
DeviceName in the BlockDeviceMapping list (which will instead have
    something like "/dev/sda")

While this seems like it breaks an invariant of AMIs, it ends up working
on the AWS side, and AMIs like this are common enough that we need to
special case it so Terraform does the right thing.

Our heuristic is: if the RootDeviceName does not appear in the
BlockDeviceMapping, assume that the DeviceName of the first
BlockDeviceMapping entry serves as the root device.

fixes #2224
2015-06-23 09:01:41 -05:00
Paul Hinze 6fd4f65946 Merge pull request #2428 from ajmath/fix-remote-state-docs
Fixes incorrect usage of terraform_remote_state in docs
2015-06-23 08:59:54 -05:00
Andrew Matheny 0ecd1fd054 Fixes incorrect usage of terraform_remote_state in docs
I was getting an error about a missing 'name' parameter when using the snippet from the docs that referenced a path value.  Looking into the source, I found it was actually supposed to be name for the atlas provider.
2015-06-23 00:56:18 -04:00
Paul Hinze ce8baea6ae Update CHANGELOG.md 2015-06-22 18:13:52 -05:00
Paul Hinze cde64727f3 Merge pull request #2411 from Jberlinsky/master
Improve idempotency of aws_iam_server_certificate provisioning
2015-06-22 18:12:49 -05:00
Paul Hinze 118e021d1b Merge pull request #2413 from TimeIncOSS/version-separation
Expose Terraform version
2015-06-22 18:06:14 -05:00
Paul Hinze aa8cf572a8 Merge pull request #2265 from hashicorp/f-schema-validate-field
Support arbitrary per-field schema validation
2015-06-22 18:01:54 -05:00
Paul Hinze a7cbbbd258 communicator/ssh: bastion host support
* adds `bastion_*` fields to `connection` which add configuration for a
   bastion host
 * if `bastion_host` is set, connect to that host first, then jump
   through it to make the SSH connection to `host`
 * enables SSH Agent forwarding by default
2015-06-22 18:00:18 -05:00
Paul Hinze e4931771af Update CHANGELOG.md
cc @mitchellh
2015-06-22 17:58:30 -05:00
Paul Hinze a224c134ff Merge pull request #2408 from hashicorp/f-ssh-agent-default-true
communicator/ssh: switch agent default to true
2015-06-22 17:55:46 -05:00
Clint Shryock 8e23607b67 update docs to include IAM roles 2015-06-22 10:07:43 -05:00
Clint Shryock cc43ae8c4b Merge branch 'master' into f-aws-flow-logs
* master:
  Update CHANGELOG.md
  Update CHANGELOG.md
  Added affinity group resource.
  update link to actually work
  provider/azure: Fix SQL client name to match upstream
  add warning message to explain scenario of conflicting rules
  typo
  remove debugging
  Update CHANGELOG.md
  provider/aws: Add docs for autoscaling_policy + cloudwatch_metric_alarm
  provider/aws: Add autoscaling_policy
  provider/aws: Add cloudwatch_metric_alarm
  rename method, update docs
  clean up some conflicts with
  clean up old, incompatible test
  update tests with another example
  update test
  remove meta usage, stub test
  fix existing tests
  Consider security groups with source security groups when hashing
2015-06-22 09:33:42 -05:00
Clint Shryock 87c7f6337d remove flow/deliver log status attributes 2015-06-22 09:31:37 -05:00