Commit Graph

9868 Commits

Author SHA1 Message Date
Jeff Tang be0ebbc22e Handle race condition with IAM role permissions 2016-04-06 16:04:25 -04:00
Martin Atkins ca4eed7c0e Update CHANGELOG.md 2016-04-06 09:40:22 -07:00
David Harris e698822be5 provider/aws: Renaming `option_settings` attribute to `setting`. Added test to verify that settings are applied to template.
Fixes #6035
2016-04-06 11:35:07 -05:00
Martin Atkins f739ef9849 Human-readable error for failure to read EC2 volume
Previously the format string was using %#v, which prints the whole data structure given.

Instead we want to use %s to get the string representation of the error.

This fixes #6038.
2016-04-06 09:34:10 -07:00
Hector Rivas Gandara ad761f338d provider/aws: Doc cloudwatch SNS and lambda perms
Documentation for `aws_cloudwatch_event_target` to warn that in order to be

able to have your AWS Lambda function or SNS topic invoked by a CloudWatch

Events rule, you must setup the right permissions

using `aws_lambda_permission` or `aws_sns_topic.policy`
2016-04-06 10:28:24 -05:00
David Glasser 320773d6c1 command: delete unused class 2016-04-05 18:42:09 -07:00
Paul Stack 84b913bc5d Update CHANGELOG.md 2016-04-05 16:00:52 -05:00
Hector Rivas Gandara eb4fef1ca1 aws provider: normalize json of cloudwatch event_pattern
Normalise the event_pattern of the aws_cloudwatch_event_rule resource

before uploading it to AWS.



AWS seems to accept a event_pattern with a JSON with new lines, but then

the rule does not seem to work. Creating the rule in the AWS console works,

but will setup the pattern  as a json without newlines or spaces, and

display a formatted JSON.
2016-04-05 15:56:45 -05:00
samjwlee 05d44fa8e0 (doc) fix typo 2016-04-05 15:00:04 -05:00
Sander van Harmelen 5e6af8e01b Merge pull request #6010 from svanharmelen/f-deprecate-ipaddress
provider/cloudstack: make the CloudStack provider more inline with the other providers
2016-04-05 21:54:23 +02:00
James Nugent 0f250160ed Update CHANGELOG.md 2016-04-05 14:42:20 -05:00
James Nugent fe4ddba426 Merge pull request #5988 from apparentlymart/consul-key-subtree
provider/consul: consul_key_prefix resource
2016-04-05 14:41:01 -05:00
Clint 317ce31b61 Update CHANGELOG.md 2016-04-05 14:04:23 -05:00
Clint 6f4dc98354 provider/aws: Remove CloudTrail Trail from state if not found 2016-04-05 14:04:00 -05:00
Jeff Tang b857bd1ce9 add TestCheckExists/TestCheckAttributes for opsworks instance 2016-04-05 13:44:48 -04:00
Jeff LaPlante ba4ec0097a fixed formatting 2016-04-05 09:21:23 -07:00
Jeff LaPlante cf607e8a58 Added Group attribute to cloudstack instance resource 2016-04-05 09:12:45 -07:00
Clint 053ba9005d provider/aws: Remove Network ACL from state if not found 2016-04-05 11:11:16 -05:00
Joe Topjian 23b953eea3 provider/openstack: Allow resizing when Flavor Name changes
Previously, resizing would only work if the flavor_id changed and
would create an error if the flavor_name changes. This commit fixes
this behavior.

It also quickly refactors the getFlavorID function to use
Gophercloud's IDFromName function. getFlavorID was the basis of
IDFromName so the exact same code is used.

Fixes #5780
2016-04-05 15:31:14 +00:00
Clint 75bd44e29d Update CHANGELOG.md 2016-04-05 10:18:22 -05:00
Clint be385b83f8 provider/aws: Fix issue with retrying deletion of Network ACLs
Fix retry after removing associations by correctly checking and returning an

error. This should patch the VPC/Resource leak in our nightly acceptance tests.
2016-04-05 10:18:03 -05:00
Jeff Tang 41a8220e0f add custom_json for opsworks layers 2016-04-05 08:57:19 -04:00
Paul Stack cd6d7328d4 Update CHANGELOG.md 2016-04-04 21:50:25 -05:00
Paul Stack 7bc57b4382 Update CHANGELOG.md 2016-04-04 21:44:53 -05:00
VERDOÏA Laurent a24207b9b7 provider/docker: #5298 Add support for docker run --user option 2016-04-04 21:43:59 -05:00
Paul Stack 9487e38812 Update CHANGELOG.md 2016-04-04 21:25:43 -05:00
KOJIMA Kazunori d646682d7a provider/aws: Support S3 bucket notification
* Implement aws_s3_bucket_notification resource
2016-04-04 21:23:06 -05:00
Clint b04b508b54 Update CHANGELOG.md 2016-04-04 16:56:58 -05:00
Clint 986fcd95f9 provider/google: Accept GOOGLE_CLOUD_KEYFILE_JSON env var for credentials 2016-04-04 16:56:35 -05:00
Sander van Harmelen fddf3eccc6 Make the CloudStack provider more inline with the other provider
It turns out all other providers use `ip_address` where the CloudStack
provider uses `ipaddress`. To make this more consistent this PR
deprecates `ipaddress` and adds `ip_address` where needed…
2016-04-04 22:16:15 +02:00
Clint 805fd7c5c1 Update CHANGELOG.md 2016-04-04 11:41:59 -05:00
Clint b351a72e4c provider/aws: Normalize and compact SQS Redrive, Policy JSON
* provider/aws: Nomralize SQS Redrive Policy JSON

* provider/aws: Fix typo in log statements

* compact the Policy on SNS Queue

* add acceptance test for policy formatting
2016-04-04 11:41:36 -05:00
Sander van Harmelen a2695b4652 Update CHANGELOG.md 2016-04-04 18:28:14 +02:00
Sander van Harmelen f81334fd88 Merge pull request #6004 from svanharmelen/f-cloudstack-static-nat
provider/cloudstack: add `cloudstack_static_nat` resource
2016-04-04 18:17:57 +02:00
Sander van Harmelen e5fecca7cc Add `cloudstack_static_nat` resource 2016-04-04 15:48:14 +02:00
Martin Atkins fa703db8a6 Merge #4955: "terraform fmt" command 2016-04-04 01:07:32 -07:00
Paul Stack ee54f1ce05 Update CHANGELOG.md 2016-04-03 19:19:23 -05:00
Paul Stack fa8ac5a1dc Merge pull request #5801 from rhyas/docker_image_destroy
Fix Image Destroy bug. #3609 #3771
2016-04-03 19:17:52 -05:00
Martin Atkins d706130a51 consul_key_prefix resource
This new resource is an alternative to consul_keys that manages all keys
under a given prefix, rather than arbitrary single keys across the entire
store.

The key advantage of this resource over consul_keys is that it is able to
detect and delete keys that are added outside of Terraform, whereas
consul_keys is only able to detect changes to keys it is explicitly
managing.
2016-04-02 20:37:11 -07:00
Martin Atkins 4b39302f04 Merge pull request #5944 from sbadia/doc-gcp
docs/google: Update links, fix syntax errors and remove whitespaces
2016-04-02 16:32:30 -10:00
Martin Atkins 0fba9f1ca9 Merge pull request #5995 from skyzyx/patch-1
Fix broken Markdown in google_compute_instance_group_manager docs
2016-04-02 16:27:11 -10:00
Ryan Parman b9c07badba Update compute_instance_group_manager.html.markdown 2016-04-02 19:14:40 -07:00
Paul Stack f7d1e0390d Merge pull request #5987 from hashicorp/aws-eb-config-temp-tests
provider/aws: ElasticBeanstalk Config template tests now use a less brittle test env case
2016-04-01 17:39:21 -05:00
Paul Stack c8da2332f8 Update CHANGELOG.md 2016-04-01 17:36:14 -05:00
Paul Stack 4c2738ae98 Merge pull request #5915 from dharrisio/f-aws-elastic-beanstalk-environment-options
provider/aws: Adding outputs for elastic_beanstalk_environment resource.
2016-04-01 17:34:56 -05:00
stack72 2dd78a8faa provider/aws: ElasticBeanstalk Config template tests now use a less brittle test env case 2016-04-01 17:31:44 -05:00
Paul Stack dd2c32ef2a Merge pull request #5986 from hashicorp/aws-eb-env-tests
provider/aws: ElasticBeanstalk environment tests now use a less brittle test env case
2016-04-01 17:26:41 -05:00
Paul Stack d95635b1fe Merge pull request #5984 from endofcake/master
Add link to Route table page, remove self-reference
2016-04-01 17:15:47 -05:00
stack72 8aee3b58b5 provider/aws: ElasticBeanstalk environment tests now use a less brittle
test env case
2016-04-01 17:10:20 -05:00
David Harris c3a6cf0620 provider/aws: Adding outputs for elastic_beanstalk_environment resource.
refs #5798
2016-04-01 13:58:09 -06:00