Commit Graph

5548 Commits

Author SHA1 Message Date
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
Sander van Harmelen 0b1dbf31a3 core: close provider/provisioner connections
Currently Terraform is leaking goroutines and with that memory. I know
strictly speaking this maybe isn’t a real concern for Terraform as it’s
mostly used as a short running command line executable.

But there are a few of us out there that are using Terraform in some
long running processes and then this starts to become a problem.

Next to that it’s of course good programming practise to clean up
resources when they're not needed anymore. So even for the standard
command line use case, this seems an improvement in resource management.

Personally I see no downsides as the primary connection to the plugin
is kept alive (the plugin is not killed) and only unused connections
that will never be used again are closed to free up any related
goroutines and memory.
2015-06-19 21:52:50 +02: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
Chiradeep Vittal f8d190f537 fix compile error not caught by 'make dev' 2015-06-18 10:45:15 -07: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
Chiradeep Vittal 139500e076 increase allowed size of userdata for cloudstack provider 2015-06-17 15:41:25 -07:00
Radek Simko 079ba4e310 provider/aws: route53 delegation set docs added 2015-06-17 23:25:32 +01:00
Radek Simko 1411435179 provider/aws: Add support for delegation_set to route53_hosted_zone 2015-06-17 23:24:41 +01:00
Radek Simko bfd8226b89 provider/aws: Add route53_delegation_set 2015-06-17 23:24:41 +01: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
Clint Shryock 1a6aef0ed7 Log Group Name is required/forcenew 2015-06-17 16:33:24 -05:00
Clint Shryock bfdf11c477 provider/aws: Implement AWS Flow Logs 2015-06-17 16:31:21 -05:00
Clint Shryock 641a86effa additional attributes exported 2015-06-17 16:29:31 -05:00
Clint Shryock cbb6b97f7e provider/aws: Docs for FlowLog resource 2015-06-17 16:29:31 -05:00
Paul Hinze 6fafff3416 Update CHANGELOG.md 2015-06-17 15:38:06 -05:00
Paul Hinze 466d6bf951 Update CHANGELOG.md 2015-06-17 15:37:51 -05:00
Paul Hinze 5e86e709bc Merge pull request #2386 from hashicorp/b-template-variable-change-failure
provider/template: don't error when rendering fails in Exists
2015-06-17 15:36:11 -05:00
Paul Hinze 385b17d679 provider/template: don't error when rendering fails in Exists
The Exists function can run in a context where the contents of the
template have changed, but it uses the old set of variables from the
state. This means that when the set of variables changes, rendering will
fail in Exists. This was returning an error, but really it just needs to
be treated as a scenario where the template needs re-rendering.

fixes #2344 and possibly a few other template issues floating around
2015-06-17 15:33:07 -05:00
Paul Hinze e1c7990c9c Update CHANGELOG.md 2015-06-17 13:45:00 -05:00
Paul Hinze 42009191a9 Merge pull request #2380 from aznashwan/f-azure-databases
provider/azure: added Azure SQL server and service support.
2015-06-17 13:43:03 -05:00
aznashwan 357ed8e774 Added Azure SQL server and service support. 2015-06-17 21:23:16 +03:00
Radek Simko f0d8682df6 Update CHANGELOG.md 2015-06-17 16:12:27 +01:00
Paul Hinze a75095aa69 docs: clarify wording around destroy/apply args
inspired by #2360 with clarification on args vs flags

/cc @catsby
2015-06-17 10:10:23 -05:00
Clint b132dd284e Merge pull request #2121 from johnewart/dynamodb
DynamoDB Support
2015-06-17 09:47:13 -05:00
Clint Shryock 640836ee58 rename method, update docs 2015-06-17 09:35:50 -05:00
Chris Bednarski fff8333dd9 Merge pull request #2378 from benzenwen/doc-fix
Getting Started guide first step leaves reader hanging.  Added a Next Step.
2015-06-16 17:11:53 -07:00
Ben Wen d483409176 Getting Started: Added a Next Step upon finishing install. 2015-06-16 17:01:22 -07:00
Paul Hinze 071db417fe docs: add description of archive format to download page 2015-06-16 16:39:57 -05:00
Clint Shryock 359826be26 clean up some conflicts with 2015-06-16 16:38:26 -05:00
Clint Shryock c1cdac1f76 clean up old, incompatible test 2015-06-16 16:30:33 -05:00
Paul Hinze 8b2e1bd273 docs: snapshot plugin dependencies when releasing
refs #2356
2015-06-16 16:25:27 -05:00
Paul Hinze 5d0891ff52 add v0.5.3 transitory deps
refs #2356
2015-06-16 16:24:10 -05:00
Clint Shryock 3bf89fb81e update tests with another example 2015-06-16 16:21:46 -05:00