Commit Graph

15496 Commits

Author SHA1 Message Date
Michael Kuzmin 7a59971777 provider/docker: fix regression, cert_path stop working (#10754) (#10801) 2016-12-17 12:41:08 +00:00
Paul Stack f15efbc207 docs/aws: Add aws_autoscaling_attachment to the nav bar (#10809)
Fixes #10800
2016-12-17 12:39:09 +00:00
Kit Ewbank 8e1ce045ee Correct 'aws_hosted_zone' -> 'aws_route53_zone' in data source documentation. (#10803) 2016-12-17 12:30:20 +00:00
Mitchell Hashimoto 0c30caec7d
config: smarter provider alias usage validation
Fixes #4789

This improves the validation that valid provider aliases are used.

Previously, we required that provider aliases be defined in every module
they're used. This isn't correct because the alias may be used in a
parent module and inherited.

This removes that validation and creates the validation that a provider
alias must be defined in the used module or _any parent_. This allows
inheritance to work properly.

We've always had this type of validation for aliases because we believe
its a good UX tradeoff: typo-ing an alias is really painful, so we
require declaration of alias usage. It may add a small burden to
declare, but since relatively few aliases are used, it improves the
scenario where a user fat-fingers an alias name.
2016-12-16 16:47:32 -08:00
James Bardin 4f625af3fd Merge pull request #10787 from hashicorp/jbardin/inteprolate-list-of-maps
Inteprolate list of maps
2016-12-16 16:41:36 -05:00
James Bardin c7f5d8b7e7 Add tests for nested structues in flatmap.Expand 2016-12-16 16:34:08 -05:00
Clint b776494b18 Merge pull request #10796 from hashicorp/f-aws-sdk-v1.6.4
provider/aws: Bump SDK to v1.6.4, including some SDK bug fixes
2016-12-16 12:01:58 -06:00
clint shryock c9ed3f8e3b provider/aws: Bump SDK to v1.6.4, including some SDK bug fixes 2016-12-16 11:54:17 -06:00
Clint 3ca680facd Merge pull request #10791 from hashicorp/b-aws-lambda-tests
provider/aws: More randomiztion for lambda tests 💕
2016-12-16 11:40:22 -06:00
clint shryock 42efeb66db add missing runtime 2016-12-16 11:36:19 -06:00
Clint f53e49f9b9 Update CHANGELOG.md 2016-12-16 10:59:28 -06:00
clint shryock 45a7cc5afd more randomiztion for lambda tests 2016-12-16 10:42:37 -06:00
James Bardin 084670c241 Use flatmap.Expand to extract interpolated values
Now that flatmap.Expand will properly expand nested maps, we can use
that to extract any lists and maps when interpolating.
2016-12-16 10:36:27 -05:00
James Bardin d1d6907640 Add a provider test for a list of maps
Interpolation of a map from a list of maps was not working. Add a
provider example test to cover this.
2016-12-16 10:36:26 -05:00
James Bardin 5b5e892d4b fix flatmap.Expand
flatmap.Expand was adding `%` as a value in nested maps. Removing that
allows us properly expand objects other than a simple map.
2016-12-16 10:36:26 -05:00
Paul Stack 6a8619a5db Update CHANGELOG.md 2016-12-16 12:26:03 +00:00
Ninir f96e45ba56 provider/aws: Deprecated aws_lambda_function nodejs runtime in favor of nodejs4.3 (#9724)
* provider/aws/lambda: Deprecated nodejs in favor of nodejs4.3

* Removed redundant type declarations in composite literals

* Added validation tests
2016-12-16 12:24:45 +00:00
Paul Stack a04fbf8c45 Update CHANGELOG.md 2016-12-16 11:47:34 +00:00
Ivan Fuyivara 4d4ec6c0d1 provider/aws: Support for SES Configuration sets and Event Destinations (#10735)
* adding configuration set

* adding event destination

* adding test, all tests passing

* adding doccumentation
2016-12-16 11:46:39 +00:00
Ninir 3228bd2fcb provider/aws: Improved the API Gateway Integration documentation (#10772) 2016-12-16 11:30:50 +00:00
f440 923a110ca0 Fix broken document (#10780) 2016-12-16 11:29:12 +00:00
Michael H. Oshita a48de8cb9a syntax typo in doc for lookup() (#10783) 2016-12-16 11:29:01 +00:00
Paul Stack 757fd26850 Update CHANGELOG.md 2016-12-16 11:26:46 +00:00
stack72 3d29d8212e
Merge branch 'jmettes-api_gateway_binary_media_types' 2016-12-16 11:25:36 +00:00
stack72 79a504cfd8
provider/aws: document api_gateway binary_types 2016-12-16 11:24:12 +00:00
stack72 8efa37f7ff
Merge branch 'api_gateway_binary_media_types' of https://github.com/jmettes/terraform into jmettes-api_gateway_binary_media_types 2016-12-16 11:16:04 +00:00
Clint 51e20e1d04 Update CHANGELOG.md 2016-12-15 21:30:31 -06:00
Clint 7711952423 Merge pull request #9837 from Ninir/redshift_cluster_password
provider/aws: Redshift Cluster: Fix for master_username & password
2016-12-15 21:28:36 -06:00
Jonathan Mettes 0e6b2a4f9f Add support for binary media type to AWS API Gateway 2016-12-16 02:14:29 +00:00
Joe Topjian 79958752a8 provider/openstack: Fix typo in openstack_blockstorage_volume_attach_v2 docs (#10773) 2016-12-15 23:46:30 +00:00
Clint 75010e9112 Merge pull request #10771 from hashicorp/b-aws-test-fixes
provider/aws: More randomization so our tests can run in parallel
2016-12-15 16:36:37 -06:00
clint shryock 8d2e61e88d provider/aws: More randomization so our tests can run in parallel 2016-12-15 16:33:10 -06:00
James Bardin 64cd09d29a Merge pull request #10765 from hashicorp/jbardin/list-order
Sort interpolated lists by index number
2016-12-15 16:59:22 -05:00
James Nugent f24e15666e Merge pull request #10769 from cblecker/travis-go-1.8beta2
build: Update Travis to Go 1.8beta2
2016-12-15 15:56:10 -06:00
Christoph Blecker 4000d224e5 Update Travis to Go 1.8beta2 2016-12-15 13:50:14 -08:00
James Bardin ec2550dea5 Sort interpolated lists by index
Interpolated lists should be sorted by index number, rather than
lexicographic key order.
2016-12-15 16:45:59 -05:00
Dan Thagard 82ef4b678d Drop alias from state file if missing from lambda. (#10759)
* Drop alias from state file if missing from lambda.

This commit fixes an issue where if you remove a AWS Lambda, the corresponding alias for that Lambda is also deleted.

* Added missing imports.

* Removed non-local reference to constant.
2016-12-15 15:33:38 -06:00
Clint 442f6de8c9 Update CHANGELOG.md 2016-12-15 14:36:26 -06:00
Clint 8371d3faab Merge pull request #10763 from Ninir/d-aws-source-ami-owners
provider/aws: Fixed the data source ami enforcing non-nil values
2016-12-15 14:35:29 -06:00
Paul Stack fb27cf88b7 Update CHANGELOG.md 2016-12-15 19:20:20 +00:00
stack72 950e24bc04
Merge branch 'paultyng-pt/newrelic' 2016-12-15 19:17:52 +00:00
stack72 d13b843b48
docs/newrelic: Add the New Relic docs to the nav bar 2016-12-15 19:15:00 +00:00
Paul Tyng 3dfe5a47f1
provider/newrelic: Add new provider for New Relic 2016-12-15 19:14:59 +00:00
Paul Tyng f39cfe61ce
Add new vendor libraries for newrelic provider 2016-12-15 19:14:39 +00:00
James Bardin 61982be9c6 failing test with wrong interpolated list order
The plan diffs for aws_instance.a and aws_instance.b should be
identical.
2016-12-15 13:23:50 -05:00
Ninir a8a37b8f84 provider/aws: Fixed the data source ami enforcing non-nil values 2016-12-15 19:18:57 +01:00
Clint c2322b1e55 Merge pull request #10762 from jamesgoodhouse/fix_website_typo
fix interpolation syntax typo for website docs
2016-12-15 11:17:10 -06:00
James J. Goodhouse ecbc3e066a fix interpolation syntax typo for website docs 2016-12-15 09:10:01 -08:00
James Bardin d026745823 Allow test fixtures with non-string attributes
The testDiffFn was only only allowing string values for attributes
2016-12-15 12:03:17 -05:00
Paul Stack 50b7ffd24b Update CHANGELOG.md 2016-12-15 16:30:19 +00:00