Commit Graph

18511 Commits

Author SHA1 Message Date
James Bardin
e58c6cf7da release: clean up after v0.7.4 2016-09-19 19:37:54 +00:00
James Bardin
84592f5967 v0.7.4 2016-09-19 19:13:49 +00:00
James Bardin
652a282c56 update changelog 2016-09-19 14:04:39 -04:00
Jay Wallace
8bb4f7f05b Update redshift_security_group.html.markdown
underscores are not valid
2016-09-19 10:47:18 -07:00
James Bardin
bbd8b48251 Merge pull request #8586 from hashicorp/jbardin/races
adding locks
2016-09-19 12:38:19 -04:00
James Bardin
49243572e7 Merge pull request #8889 from hashicorp/jbardin/copystructure
Update copystructure
2016-09-19 12:05:31 -04:00
Dennis Webb
e6f2f2e39c fixed incorrect param name 2016-09-19 11:24:27 -04:00
Dennis Webb
22b442bed6 better if testing 2016-09-19 10:48:35 -04:00
Radek Simko
f17fdc76fa provider/aws: Import S3 bucket policy as a separate resource 2016-09-19 08:28:45 +01:00
Jay Wallace
cd9437a82a Update redshift_subnet_group.html.markdown 2016-09-18 21:41:29 -07:00
Radek Simko
59a7a5ca27 provider/aws: Only read S3 bucket policy if it's set 2016-09-18 22:35:07 +01:00
Radek Simko
18bd206c38 provider/aws: Make s3_bucket.policy not Computed 2016-09-18 20:58:36 +01:00
Radek Simko
1c3258d629 provider/aws: Fix s3_bucket test for empty policy 2016-09-18 20:57:50 +01:00
Radek Simko
95c28aca4f Update CHANGELOG.md 2016-09-18 14:31:24 +01:00
Krzysztof Wilczynski
056d53e1fe Add JSON validation to the aws_glacier_vault resource. (#8899)
This commit adds support for new helper function which is used to
normalise and validate JSON string.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2016-09-18 14:26:28 +01:00
Radek Simko
05402b8bd0 Update CHANGELOG.md 2016-09-18 13:38:14 +01:00
Krzysztof Wilczynski
bad81299c1 Add JSON validation to the aws_cloudformation_stack resource. (#8896)
This commit adds support for new helper function which is used to
normalise and validate JSON string.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2016-09-18 13:37:21 +01:00
Krzysztof Wilczynski
e999ae77ba Add normalizeJsonString and validateJsonString functions.
This commit adds ValidateFunc to the policy attribute so that JSON parsing
errors can be caught early. Generally, when there is a ValidateFunc set for the
attribute, one can safely assume that before any of the creation and/or update
of the existing resource would happen it would have to succeed validation. Also
adds support for new helper function which is used to normalise JSON string.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2016-09-17 23:34:50 +01:00
Krzysztof Wilczynski
80f799f69b Add JSON validation to the aws_sqs_queue_policy resource.
This commit adds support for new helper function which is used to
normalise and validate JSON string.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2016-09-17 23:14:02 +01:00
Krzysztof Wilczynski
538327b61f Add JSON validation to the aws_sqs_queue resource.
This commit adds support for new helper function which is used to
normalise and validate JSON string.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2016-09-17 23:13:14 +01:00
Krzysztof Wilczynski
3b1b4fb571 Add JSON validation to the aws_sns_topic_policy resource.
This commit adds support for new helper function which is used to
normalise and validate JSON string.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2016-09-17 23:12:35 +01:00
Krzysztof Wilczynski
6a02bf2983 Add JSON validation to the aws_s3_bucket_policy resource.
This commit adds support for new helper function which is used to
normalise and validate JSON string.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2016-09-17 23:10:22 +01:00
Krzysztof Wilczynski
5697a52b4f [WIP] provider/aws: Add normalizeJsonString and validateJsonString functions. (#8028)
* Add normalizeJsonString and validateJsonString functions.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>

* Add unit test for the normalizeJsonString helper function.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>

* Fix. Remove incrrect format string.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>

* Remove surplus type assertion.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>

* Add unit test for the validateJsonStringhelper function.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>

* Remove surplus whitespaces.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2016-09-17 19:50:38 +01:00
Justin Marney
895d10a627 Use DeepEqual instead of multiple if statements to reduce noise. 2016-09-17 17:41:44 +00:00
Justin Marney
53e10dfa89 Name test appropriately. 2016-09-17 16:56:12 +00:00
baboune
22b8b5c532 Update index.html.markdown
Use default docker server remote API port 2376 instead of 1234.
2016-09-17 17:57:37 +02:00
Christoph Blecker
047cdd7c09 Slight tweak to import docs to clarify state management commands (#8885) 2016-09-17 08:15:29 +01:00
Dennis Webb
925fc116a8 always set scaling_adjustment when policy_type = SimpleScaling 2016-09-16 21:00:57 -05:00
Justin Marney
9217f5a063 Unchanged NestedSets are not returned by DiffFieldReader. 2016-09-16 23:57:33 +00:00
James Bardin
733e5ab6bb Update copystructure
Contains race fix
2016-09-16 15:59:16 -04:00
Cameron Stokes
351c6bed79 Minor typo in aws_default_security_group docs. 2016-09-16 09:47:54 -07:00
Radek Simko
6ecd0dedc5 Update CHANGELOG.md 2016-09-16 16:46:42 +01:00
Clint
69f44a04e9 provider/aws: Add reader_endpoint RDS Clusters (supersedes #8878) (#8884)
* provider/aws: Add support for Aurora ReaderEndpoint

* provider/aws: Add reader_endpoint to the schema, document, test
2016-09-16 16:45:04 +01:00
James Bardin
458e921dea Merge pull request #8874 from hashicorp/jbardin/json-hcl
Fix #8820 Regression in loading variables.tf.json from module
2016-09-16 11:35:53 -04:00
Mike
4f7723bed8 Updated new lines (#8883)
the render in the webpage did not show the code blocks for `Upload file to vSphere` section correctly.
2016-09-16 10:29:08 -05:00
Krzysztof Wilczynski
1eed5ddbe0 Fix. Correct a typo in the error message. (#8882)
This comment corrects a simple typo in the error message issued when the
credentials are not working and/or do not offer access to AzureRM, etc.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2016-09-16 16:09:20 +01:00
James Bardin
e5ff4d5bd4 create some unlocked methods for State
State.Init() needs to be called externally, so make sure it only calls
unlocked internal methods once a lock is acquired.
2016-09-16 09:59:04 -04:00
James Bardin
90aab0105d Add locks to InstanceState
Rename receivers for consistency
2016-09-16 09:59:04 -04:00
James Bardin
8d5080fe72 Lock all ResourceState methods
Also rename receivers so they are consistent.
2016-09-16 09:59:04 -04:00
James Bardin
469e71a488 add locks to all exported ModuleState methods 2016-09-16 09:59:04 -04:00
James Bardin
f1b44e36b4 add lock to OutputState.Equal 2016-09-16 09:59:04 -04:00
James Bardin
1235623fad Add locks to exported RemoteState methods 2016-09-16 09:59:04 -04:00
James Bardin
0be90c8994 Add locks to all exported State methods
move implementation into private methods when needed
2016-09-16 09:59:04 -04:00
Radek Simko
16e3a11da3 vendor: Bump github.com/aws/aws-sdk-go to v1.4.10 (#8877) 2016-09-16 08:06:45 -05:00
James Bardin
425142d221 Update github.com/hashicorp/hcl
Fixes #8820
2016-09-16 09:06:26 -04:00
James Bardin
e2b6ccad8a Failing test for GH-8820 2016-09-15 16:51:12 -04:00
Adrian Hesketh
19e8932a92 Clarify how to notify multiple lambdas (#8854)
Clarified that to send notifications to more than one Lambda function requires a single `s3_bucket_notification` element with multiple `lambda_function` configuration elements.

If multiple `s3_bucket_notification` elements, each with a single `lambda_function` element are used, one of the configurations is applied, seemingly at random.
2016-09-15 15:28:07 -05:00
Clint
6def0e561e Update CHANGELOG.md 2016-09-15 14:00:05 -05:00
Clint
79bb2e8a87 provider/aws: Add Default Security Group Resource (#8861)
* Docs for default security group
* overrides of default behavior
* add special disclaimer
* update to support classic environments
2016-09-15 13:59:20 -05:00
Clint
1bbf1eed7d Update CHANGELOG.md 2016-09-15 13:30:36 -05:00