Commit Graph

5446 Commits

Author SHA1 Message Date
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
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
Clint Shryock d5f962b14b clean up extra indentation 2015-06-22 09:25:27 -05:00
Radek Simko 0fc8882e29 Expose Terraform version internally & externally 2015-06-21 12:24:42 +01:00
Jason Berlinsky 06e2336467 Replace AWS IAM test SSL certificate with self-signed cert, including CA chain 2015-06-21 01:40:29 -04:00
Jason Berlinsky a7b31ac40d Normalize certificate chains as well as certificate bodies when creating AWS IAM SSL certificates 2015-06-21 01:40:09 -04:00
Paul Hinze 44de0996c5 communicator/ssh: switch agent default to true
This changes SSH Agent utilization from opt-in to opt-out, bringing
Terraform in line with the behavior of Packer and the `ssh` command
itself.

But skip SSH agent connections if the SSH_AUTH_SOCK env var doesn't exist,
whcih means there's no agent to connect to.
2015-06-19 17:14:43 -05:00
Clint 7850bb39d5 Update CHANGELOG.md 2015-06-19 14:01:22 -05:00
Paul Hinze e475764e51 Update CHANGELOG.md 2015-06-19 13:57:11 -05:00
Paul Hinze 87bea0fd4b Merge pull request #2394 from aznashwan/f-azure-affinity-group
provider/azure: Added affinity group resource.
2015-06-19 13:56:54 -05:00
aznashwan 9b5c99ba28 Added affinity group resource. 2015-06-19 21:53:36 +03:00
Clint f045e9e8d1 Merge pull request #2376 from hashicorp/fix-security-group-rule-hashing-with-source-sg
Consider security groups with source security groups when hashing
2015-06-19 11:50:44 -05:00
Clint Shryock 44eb55f8f6 update link to actually work 2015-06-19 11:50:10 -05:00
Clint Shryock d2176b2d7e Merge branch 'master' into jszwedko-fix-sg
* master:
  provider/azure: Fix SQL client name to match upstream
2015-06-19 11:40:50 -05:00
Clint Shryock 2410824fc9 provider/azure: Fix SQL client name to match upstream
name was changed in 4f4636621e
2015-06-19 11:39:50 -05:00
Clint Shryock a3cbb74a2e Merge branch 'master' into jszwedko-fix-sg
* master: (23 commits)
  typo
  Update CHANGELOG.md
  provider/aws: Add docs for autoscaling_policy + cloudwatch_metric_alarm
  provider/aws: Add autoscaling_policy
  provider/aws: Add cloudwatch_metric_alarm
  Update CHANGELOG.md
  Update CHANGELOG.md
  provider/template: don't error when rendering fails in Exists
  Update CHANGELOG.md
  Added Azure SQL server and service support.
  Update CHANGELOG.md
  docs: clarify wording around destroy/apply args
  Getting Started: Added a Next Step upon finishing install.
  docs: add description of archive format to download page
  docs: snapshot plugin dependencies when releasing
  add v0.5.3 transitory deps
  Fixes support for changing just the read / write capacity of a GSI
  Change sleep time for DynamoDB table waits from 3 seconds to 5 seconds
  Remove request for attribute changes
  Fix AWS SDK imports
  ...
2015-06-19 11:31:41 -05:00
Clint Shryock 645a5aa55b add warning message to explain scenario of conflicting rules 2015-06-19 11:23:59 -05:00
Paul Hinze 611741c108 typo 2015-06-18 15:47:54 -05:00
Clint Shryock 24ee2e5d53 remove debugging 2015-06-18 08:39:08 -05:00
Clint Shryock 0bf127a805 update test; fix import, interpolate ENV var for log name 2015-06-18 08:35:45 -05:00
Clint Shryock 285a88b664 code cleanups 2015-06-18 08:28:38 -05:00
Radek Simko ad4ff53120 Update CHANGELOG.md 2015-06-17 23:23:21 +01:00
Radek Simko 97b6a0a4b2 Merge pull request #2201 from hashicorp/f-aws-scaling-policies
provider/aws: Add autoscaling_policy + cloudwatch_metric_alarm
2015-06-17 23:21:27 +01:00
Alex Pilon 14f4e5fe54 provider/aws: Add docs for autoscaling_policy + cloudwatch_metric_alarm 2015-06-17 23:10:23 +01:00
Alex Pilon 05f4b9bfd9 provider/aws: Add autoscaling_policy 2015-06-17 23:10:23 +01:00
Alex Pilon ceeb94e157 provider/aws: Add cloudwatch_metric_alarm 2015-06-17 23:10:23 +01:00
Clint Shryock b3d7bb2b39 fix go vet error 2015-06-17 16:45:14 -05:00