Commit Graph

7372 Commits

Author SHA1 Message Date
clint shryock e9cb722471 providers/aws: Fix issue recreating security group rule if it has been destroyed 2015-11-24 13:50:30 -06:00
Paul Hinze bd23ab35bf docs: update template_file examples
Use the new non-deprecated style.

refs #4025
2015-11-24 09:01:11 -06:00
Paul Hinze 047ac8e534 Update CHANGELOG.md 2015-11-24 08:46:15 -06:00
Paul Hinze 5e0b603212 Merge pull request #4041 from svanharmelen/b-chef-provisioner
Revert changing `path.Join()` to `filepath.Join()` (PR #3896)
2015-11-24 08:44:46 -06:00
Sander van Harmelen b007d4f77a Revert changing `path.Join()` to `filepath.Join()` (PR #3896)
PR #3896 added support for passing keys by content, but in this same PR
all references to `path.Join()` where changed to `filepath.join()`.
There is however a significant difference between these two calls and
using the latter one now causes issues when running the Chef
provisioner on Windows (see issue #4039).
2015-11-24 14:40:46 +01:00
James Nugent 09a4fdfc3d Merge branch 'mvermaes-doc-fix' 2015-11-24 13:43:34 +02:00
Michael Vermaes f0292d420f Update template example for new syntax 2015-11-24 13:42:37 +02:00
James Nugent 5290365238 Merge pull request #4038 from milkcocoa/fix-removing-locale-identifier
Remove locale identifier from links to the AWS document.
2015-11-24 13:25:51 +02:00
James Nugent 047027a9d3 Update CHANGELOG.md 2015-11-24 13:18:40 +02:00
James Nugent 1cde2e64a0 Merge pull request #3748 from stack72/do-floatingips
provider/digitalocean : New Resource for Floating IPs
2015-11-24 13:16:24 +02:00
stack72 3fc9107333 Using the laterst version of the DO API to get the Assign of an IP working without a time.Sleep 2015-11-24 11:08:43 +00:00
Shu Masuda 1c37e908c7 Remove locale identifier from links to the AWS document. 2015-11-24 19:25:43 +09:00
James Nugent 288e568272 Merge pull request #4024 from rjeczalik/nil-deref-fix
provider/aws: fix for https://github.com/aws/aws-sdk-go/issues/452
2015-11-24 11:52:33 +02:00
Rafal Jeczalik 9e66e18334 provider/aws: fix for https://github.com/aws/aws-sdk-go/issues/452 2015-11-24 09:30:21 +01:00
Mitchell Hashimoto 0e8ef19f56 Merge pull request #4028 from hashicorp/edit-page-link
fix edit this page stacking
2015-11-23 21:15:31 -08:00
captainill e9cf7f5f00 fix edit this page stacking 2015-11-23 23:51:02 -05:00
Seth Vargo a61c375115 Capital 'C' /cc @mitchellh 2015-11-23 21:31:28 -05:00
clint shryock 73e1f4ce52 release: clean up after v0.6.7 2015-11-23 15:46:11 -06:00
clint shryock b7c41aed92
v0.6.7 2015-11-23 18:16:01 +00:00
clint shryock 7e0cbb4da7 Update Vagrant file to use Go 1.5.1 2015-11-23 11:11:55 -06:00
Paul Hinze c524682f2d Update CHANGELOG.md 2015-11-23 09:02:45 -06:00
Paul Hinze 8ee8d384aa Merge pull request #4021 from hashicorp/b-require-vpc-for-subnet
provider/aws: Make VPC ID required on subnets
2015-11-23 09:02:23 -06:00
James Nugent 99e3d62cd8 provider/aws: Make VPC ID required on subnets 2015-11-23 16:53:49 +02:00
James Nugent 6543b944b7 Update CHANGELOG.md 2015-11-23 16:33:31 +02:00
Clint c74145f711 Update CHANGELOG.md 2015-11-23 08:23:10 -06:00
Clint 82050ff832 Merge pull request #4005 from hashicorp/b-aws-iam-user-delete
provider/aws: Fix issue deleting users who are attached to a group
2015-11-23 08:22:48 -06:00
Clint 38a5502efb Update CHANGELOG.md 2015-11-23 08:22:33 -06:00
Clint 7772a66b2f Merge pull request #3940 from hashicorp/b-aws-spot-instance-updates
providers/aws: Update Spot Instance request to provide connection information
2015-11-23 08:22:07 -06:00
James Nugent b044340e75 Merge pull request #4017 from hashicorp/b-vars-refresh
core: Validate context after input of vars on refresh
2015-11-23 16:19:36 +02:00
Paul Hinze fd2c62b3c7 Update CHANGELOG.md 2015-11-23 08:19:23 -06:00
Paul Hinze 3afe350c28 Merge pull request #4002 from hashicorp/phinze/skip-statefunc-for-nils
helper/schema: skip StateFunc when value is nil
2015-11-23 08:12:13 -06:00
James Nugent 1f5de8ee43 Update CHANGELOG.md 2015-11-23 15:10:38 +02:00
James Nugent 1fa44b4796 Merge pull request #4020 from stack72/f-aws-elasticache-cluster-maintenance-window
provider/aws:Elasticache maintenance_window forces lowercase
2015-11-23 15:02:21 +02:00
stack72 150e997a96 Changing the AWS ElastiCache cluster maintenance_window to enforce lowercase 2015-11-23 12:54:56 +00:00
James Nugent b4725d4fa3 Merge pull request #4018 from hashicorp/f-ignore-test-files
Ignore .test files generated by some editors
2015-11-23 12:42:40 +02:00
James Nugent 0375c5a4ab Ignore .test files generated by some editors
Seems like Emacs is generating .test files when saving _test.go files -
we don't need these in the repo.
2015-11-23 10:40:38 +02:00
James Nugent 50b5e7c1a5 Validate context after input of vars on refresh
Fixes #4013.
2015-11-23 10:33:40 +02:00
James Nugent 890e214c00 Add failing test replicating #4013 2015-11-23 10:32:46 +02:00
Radek Simko ddc98d7733 Update CHANGELOG.md 2015-11-23 08:00:49 +00:00
Radek Simko 749fcd4931 Merge pull request #4010 from pforman/cloudtrail-enable
provider/aws:  Add "enable_logging" to CloudTrail resource
2015-11-23 07:59:29 +00:00
Paul Forman 52aad04930 Mistake in type refactor in cloudTrailGetLoggingStatus
When adjusting the types to prevent casting, I didn't change the error
message to handle the pointer change.  "go tool vet" caught this.
2015-11-22 13:23:08 -07:00
Paul Forman 9cec40ea3c Add missing error-checks from code review
Some error-checking was omitted.

Specifically, the cloudTrailSetLogging call in the Create function was
ignoring the return and cloudTrailGetLoggingStatus could crash on a
nil-dereference during the return.  Fixed both.

Fixed some needless casting in cloudTrailGetLoggingStatus.
Clarified error message in acceptance tests.
Removed needless option from example in docs.
2015-11-22 12:54:11 -07:00
Paul Forman 484887c0c5 Change default for logging in CloudTrail to true
The default for `enable_logging`, which defines whether CloudTrail
actually logs events was originally written as defaulting to `false`,
since that's how AWS creates trails.

`true` is likely a better default for Terraform users.

Changed the default and updated the docs.
Changed the acceptance tests to verify new default behavior.
2015-11-22 10:47:23 -07:00
James Nugent 774ed1ded8 Merge pull request #4012 from rakutentech/rename-function
provider/vsphere: Rename create* functions
2015-11-22 11:34:42 +02:00
Paul Forman c9eeb161e0 Add a comment in tests
The purpose of the first test of enable_logging wasn't quite clear.

It's future-proofing against the assumptions made about AWS behavior.
2015-11-21 14:55:08 -07:00
Paul Forman f98dbbb580 Tests and docs for AWS CloudTrail "enable_logging"
Add acceptance tests for creation, enable, and disable logging.

Add option to docs and example.
2015-11-21 00:18:38 -07:00
Paul Forman 52db098292 Add enable_logging to AWS CloudTrail
The AWS CloudTrail resource is capable of creating CloudTrail resources,
but AWS defaults the actual logging of the trails to `false`, and
Terraform has no method to enable or monitor the status of logging.

CloudTrail trails that are inactive aren't very useful, and it's a
surprise to discover they aren't logging on creation.

Added an `enable_logging` parameter to resource_aws_cloudtrail to enable
logging.  This requires some extra API calls, which are wrapped in new
internal functions.

For compatibility with AWS, the default of `enable_logging` is set to
`false`.
2015-11-21 00:18:38 -07:00
clint shryock 233aab6e0a provider/aws: Fix issue deleting users who are attached to a group
If you want to delete an IAM user, that user must not belong to any groups
2015-11-20 16:54:26 -06:00
Clint cf87ede5dd Update CHANGELOG.md 2015-11-20 14:50:41 -06:00
Clint cc70d25dc5 Merge pull request #3898 from hashicorp/b-aws-elb-iam-cert-delete
providers/aws: Retry deleting IAM Server Cert on dependency violation
2015-11-20 14:50:18 -06:00