Commit Graph

15184 Commits

Author SHA1 Message Date
Mitchell Hashimoto 817a593280
terraform: destroy edges should take into account module variables
Fixes #10729

Destruction ordering wasn't taking into account ordering implied through
variables across module boundaries.

This is because to build the destruction ordering we create a
non-destruction graph to determine the _creation_ ordering (to properly
flip edges). This creation graph we create wasn't including module
variables. This PR adds that transform to the graph.
2016-12-14 21:48:09 -08:00
Paul Stack 37fb5073cf Update CHANGELOG.md 2016-12-14 23:02:05 +00:00
Matt Long 0d0c31d962 provider/pagerduty: Allow 'team_responder' role for pagerduty_user resource (#10728)
* provider/pagerduty: Allow 'team_responder' role for pagerduty_user resource

* Change unit test to exercise 'team_responder' and reformat

* Update the test fixture to use the 'team_responder' role
2016-12-14 23:01:19 +00:00
Clint ef471bd423 Update CHANGELOG.md 2016-12-14 16:33:54 -06:00
Clint 89c328aed4 Merge pull request #10733 from hashicorp/f-remove-deprecated-param-group
provider/aws: Removed deprecated parameter group from RDS Cluster
2016-12-14 16:32:36 -06:00
Mitchell Hashimoto 1d794d313b Update CHANGELOG.md 2016-12-14 13:56:16 -08:00
Mitchell Hashimoto 2cf99b2556 Merge pull request #10717 from hashicorp/b-var-whitespace
helper/variables: trim whitespace around the key in -var
2016-12-14 13:55:22 -08:00
Mitchell Hashimoto 6d594b3bc6
helper/variables: trim whitespace on key before empty string comp 2016-12-14 13:52:34 -08:00
Mitchell Hashimoto 57b3510c7a Update CHANGELOG.md 2016-12-14 13:51:05 -08:00
Mitchell Hashimoto f25d225683 Update CHANGELOG.md 2016-12-14 13:50:20 -08:00
Mitchell Hashimoto 9520b24679 Merge pull request #10719 from hashicorp/b-module-var-ref
terraform: add module vars after providers to see references
2016-12-14 13:50:16 -08:00
Mitchell Hashimoto 8a6b267577 Merge pull request #10720 from hashicorp/b-merge
config: Merge respects Terraform blocks, provider aliases, and more
2016-12-14 13:49:26 -08:00
James Turnbull 572796d002 Fixed some formatting issues and language with the Softlayer docs (#10732) 2016-12-14 16:25:57 +00:00
clint shryock 70b1f4e708 provider/aws: Bump EMR Cluster create timeout 2016-12-14 10:25:45 -06:00
clint shryock 4007fd2bc8 provider/aws: Removed deprecated parameter group from RDS Cluster 2016-12-14 10:08:11 -06:00
Paul Stack a9637f656a Update CHANGELOG.md 2016-12-14 09:34:38 +00:00
James Nugent a160d1cd69 provider/aws: Support eu-west-2 (#10470)
* provider/aws: Support eu-west-2

This is the new London region - we don't have access yet but several
enquiries have come from customers who do.

* provider/aws: Support eu-west-2 region

* Update hosted_zones.go
2016-12-14 09:33:58 +00:00
Kit Ewbank c7bf4fc8d3 Correct error message for 'aws_caller_identity' acceptance test. (#10712) 2016-12-14 09:33:06 +00:00
Mitchell Hashimoto c2c5668a8d
config: Append supports `terraform` 2016-12-13 21:53:02 -08:00
Mitchell Hashimoto 3878b8b093
config: Merge respects Terraform blocks, provider aliases, and more
Fixes #10715

`config.Merge` was not updated to support a number of new features. This
updates the codepath to merge various fields, including the `terraform`
block which was the issue in #10715.

The `Merge` API is called when an `_override` file is present to _merge_
configurations. Normally configurations are _appended_. Only an override
file triggers a _merge_.

I started working on a generic library to do this automatically awhile
back but never finished it. This might motivate me to do so. In the
interest of getting a fix out though, we'll continue the manual
approach.
2016-12-13 21:48:59 -08:00
Mitchell Hashimoto 89f7e3b79f
terraform: add module vars after providers to see references
Fixes #10711

The `ModuleVariablesTransformer` only adds module variables in use. This
was missing module variables used by providers since we ran the provider
too late. This moves the transformer and adds a test for this.
2016-12-13 21:22:21 -08:00
Mitchell Hashimoto b7f6f8eb2a
helper/variables: trim whitespace around the key in -var
Fixes #10716

This trims whitespace around the key in the `-var` flag.

This is a regression from 0.7.x.

The value is whitespace sensitive unless double-quoted. This is the same
behavior as 0.7.x. I considered rejecting whitespace around the '='
completely but I don't want to introduce BC and the behavior actually
seems quite obvious to me.
2016-12-13 21:01:01 -08:00
Mitchell Hashimoto 014b414839
website: fix upgrade guide link 2016-12-13 15:17:48 -08:00
Clint 29c9914130 Update CHANGELOG.md 2016-12-13 16:55:12 -06:00
Clint 56b0e87f5e Merge pull request #10704 from Ninir/r-aws-sns_topic-protocols
provider/aws: Improved the SNS topic subscription protocols validation
2016-12-13 16:54:21 -06:00
Kit Ewbank a9f88ba6e4 Fix a couple of missing links (#10708) 2016-12-13 22:07:12 +00:00
Sean Chittenden e6429900ba
Update the nav to include a link to the `postgresql_schema` resource. 2016-12-13 12:26:34 -08:00
Mitchell Hashimoto 66348e518b
website: 0.8 is released 2016-12-13 11:55:06 -08:00
stack72 03f3b54a92
Merge branch 'master' of github.com:hashicorp/terraform 2016-12-13 19:29:33 +00:00
stack72 9aebe3344a
provider/google: Moving the XPN EnvVar check into provider_test.go to stop failed build 2016-12-13 19:29:23 +00:00
Paul Stack 8275afab95 Update CHANGELOG.md 2016-12-13 19:18:37 +00:00
stack72 4f256a54db
Merge branch 'google-xpn' of https://github.com/danawillow/terraform 2016-12-13 19:15:54 +00:00
Sean Chittenden 60658fdfbc Merge pull request #10707 from hashicorp/b-postgresql-schema-auth
Dept of second thoughts: remove authorization support ASAP.
2016-12-13 10:45:19 -08:00
Sean Chittenden 56a193f228
Dept of second thoughts: remove authorization support before 0.8
releases.

When postgresql_schema_policy lands this attribute should be removed in
order to provide a single way of accomplishing setting permissions on
schema objects.
2016-12-13 10:28:06 -08:00
Mitchell Hashimoto a04ce1d09a release: clean up after v0.8.0 2016-12-13 18:20:33 +00:00
Mitchell Hashimoto 142dd256ad
v0.8.0 2016-12-13 18:16:00 +00:00
Mitchell Hashimoto d7b9c1a209
update CHANGELOG 2016-12-13 09:47:50 -08:00
Mitchell Hashimoto 8c85cc1e0e
update CHANGELOG 2016-12-13 09:47:21 -08:00
Mitchell Hashimoto e32a7377f3
update CHANGELOG 2016-12-13 09:45:33 -08:00
Ninir 99be2d3280 provider/aws: Improved the SNS topic subscription protocols validation 2016-12-13 17:54:52 +01:00
Mitchell Hashimoto 47e756cd97 Merge pull request #10690 from hashicorp/b-x-module-target
terraform: TargetsTransformer should preserve module variables
2016-12-13 08:31:28 -08:00
Paul Stack e86289f008 Update CHANGELOG.md 2016-12-13 16:23:06 +00:00
Mathieu Herbert 3239138099 provider/aws: data source for AWS Hosted Zone (#9766)
* provider/aws: data source for AWS Hosted Zone

* add caller_reference, resource_record_set_count fields, manage private zone and trailing dot

* fix fmt

* update documentation, use string function in hostedZoneNamewq

* add vpc_id support

* add tags support

* add documentation for hosted zone data source tags support
2016-12-13 16:22:26 +00:00
Clint b2136beff2 Merge pull request #10702 from hashicorp/pr-10694
provider/aws: Save `iam_access_key` secret to state if no PGP key given (supersedes #10694)
2016-12-13 10:11:07 -06:00
clint shryock 72885c6736 provider/aws: Save secret to state in iam_access_key if pgp key not found 2016-12-13 09:32:04 -06:00
Mike Ball 67b638378c correct `rootPath` (#10700)
This previously referenced `github.com/lrsmith/terraform`

Fixes issue #10699
2016-12-13 15:07:06 +00:00
Paul Stack 850c664c0c Update CHANGELOG.md 2016-12-13 12:13:55 +00:00
Paul Stack a5e7bbac43 Update CHANGELOG.md 2016-12-13 12:10:40 +00:00
Ryan Hoegg 73213793ca provider/aws: Add aws_eip data source (#9833)
* provider/aws: Add the aws_eip data source

* Document the aws_eip data source on the website

* provider/aws: support query by public_ip for aws_eip data source
2016-12-13 12:09:21 +00:00
Paul Stack e58bb9d824 Update CHANGELOG.md 2016-12-13 12:01:29 +00:00