Commit Graph

14913 Commits

Author SHA1 Message Date
Doug Neal 24baa38408 provider/aws: aws_vpc_peering_connection: import fix
When importing an `aws_vpc_peering_connection`, the code assumes that
the account under Terraform control is the initiator (requester) of the
VPC peering request. This holds true when the peering connection is
between two VPCs in the same account, or when the peering connection has
been initiated from the controlled account to another.

However, when the peering connection has been initiated from a foreign
account towards the account under management, importing the peering
connection into the statefile results in values of `peer_vpc_id` and
`vpc_id` being the opposite way round to what they should be, and in the
`peer_owner_id` being set to the managed account's ID rather than the
foreign account's ID.

This patch checks the Accepter and Requester Owner IDs against the AWS
connection's reported owner ID, and reverses the mapping if it is
determined that the VPC peering connection is owned by the foreign
account.
2016-12-09 12:05:06 +00:00
Paul Stack 510c82c6d7 Update CHANGELOG.md 2016-12-09 09:42:54 +00:00
Peter McAtominey 6f21b78710 provider/azurerm: fix virtual_machine reading plan as the wrong type (#10626)
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMVirtualMachine_plan -timeout 120m
=== RUN   TestAccAzureRMVirtualMachine_plan
--- PASS: TestAccAzureRMVirtualMachine_plan (798.75s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/azurerm	798.835s
2016-12-09 10:41:45 +01:00
Paul Stack 6f2f92fc35 Update CHANGELOG.md 2016-12-09 09:35:48 +00:00
Eddy Hernandez 7e737dac62 Add support for AWS CA Central 1 Region (#10618)
* Add support for AWS CA Central 1 Region

* additional metadata for ca-central-1

* add elb metadata for ca-central-1
2016-12-09 10:35:07 +01:00
Mitchell Hashimoto 92faace610 release: clean up after v0.8.0-rc3 2016-12-09 05:07:23 +00:00
Mitchell Hashimoto fce2be1773
v0.8.0-rc3 2016-12-09 05:01:06 +00:00
Mitchell Hashimoto b874d55f36
v0.8.0-rc3 2016-12-09 04:55:56 +00:00
Mitchell Hashimoto 73cb292b6a
update CHANGELOG 2016-12-08 23:19:42 -05:00
Mitchell Hashimoto 124fbc10a6 Merge pull request #10628 from hashicorp/b-identifier
config: disallow names starting with ints
2016-12-08 23:18:55 -05:00
Mitchell Hashimoto 8b9e2c17cc
config: fix NameRegexp validation to allow single-char names 2016-12-08 23:13:19 -05:00
Mitchell Hashimoto ef2500932d
website: update upgrade guide for number backwards incompat 2016-12-08 23:09:18 -05:00
Mitchell Hashimoto 6b458160b9
config: disallow names starting with ints
Fixes #10597

This disallows any names for variables, modules, etc. starting with
ints. This causes parse errors with the new HIL parser and actually
causes long term ambiguities if we allow this.

I've also updated the upgrade guide to note this as a backwards
compatibility and how people can fix this going forward.
2016-12-08 23:01:51 -05:00
Mitchell Hashimoto 12f4b5ecb8 Update CHANGELOG.md 2016-12-08 12:31:31 -05:00
Mitchell Hashimoto 6d4f63c7b2 Merge pull request #10615 from hashicorp/b-aws-encrypt-access-key-secrets
provider/aws: Encrypt aws_iam_access_key.secret with pgp
2016-12-08 12:30:44 -05:00
Mitchell Hashimoto c002de9cf9 Merge pull request #10616 from hashicorp/b-catch-sigterm
Forward SIGTERM and handle that as an interrupt
2016-12-08 12:22:37 -05:00
Mitchell Hashimoto e9c35eae32
Forward SIGTERM and handle that as an interrupt 2016-12-08 12:20:25 -05:00
clint shryock 1e8e83fa6a provider/aws: Encrypt aws_iam_access_key.secret with pgp
optionally encrypt the iam access key secret with a pgp key
2016-12-08 11:08:05 -06:00
Paul Stack 9c80c82d9e Update CHANGELOG.md 2016-12-08 17:07:32 +01:00
Peter McAtominey 56344eb98d provider/azurerm: fix servicebus_topic max_size_in_megabytes for premium namespaces (#10611)
The value is only multiplied by the API for topics in non-premium namespaces

TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMServiceBusTopic_enablePartitioning -timeout 120m
=== RUN   TestAccAzureRMServiceBusTopic_enablePartitioningStandard
--- PASS: TestAccAzureRMServiceBusTopic_enablePartitioningStandard (378.80s)
=== RUN   TestAccAzureRMServiceBusTopic_enablePartitioningPremium
--- PASS: TestAccAzureRMServiceBusTopic_enablePartitioningPremium (655.00s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/azurerm	1033.874s
2016-12-08 17:06:27 +01:00
Doug Neal 195b041cd5 Validate `effect` in aws_iam_policy_document data source (#10608)
AWS allows only the case-sensitive strings `Allow` and `Deny` to appear
in the `Effect` fields of IAM policy documents. Catch deviations from
this, including mis-casing, before hitting the API and generating an
error (the error is a generic 400 and doesn't indicate what part of the
policy doc is invalid).
2016-12-08 16:16:40 +01:00
stack72 9801c65c9e
Merge branch 'manojlds-patch-2' 2016-12-08 12:54:13 +01:00
stack72 32b81ab209
docs: Update getting-started guide to suggest remote-state 2016-12-08 12:53:34 +01:00
stack72 ff8c948cf5
Merge branch 'patch-2' of https://github.com/manojlds/terraform into manojlds-patch-2 2016-12-08 12:49:03 +01:00
Paul Stack 0244b8b110 Update CHANGELOG.md 2016-12-08 12:07:57 +01:00
Ninir 7f69f37318 provider/aws: Improvde the Cloudfront documentation when using s3 origins (#10087) 2016-12-08 12:01:18 +01:00
Paul Stack b03af1416e Update CHANGELOG.md 2016-12-08 11:59:41 +01:00
Ninir 29f8af16a1 provider/aws: Added S3 Bucket replication (#10552) 2016-12-08 11:59:13 +01:00
Paul Stack e5a3ad96da Update CHANGELOG.md 2016-12-08 11:19:46 +01:00
Otto Jongerius 10d68d90dd provider/datadog 9869: Validate credentials when initialising client. (#10567)
* provider/datadog 9869: Validate credentials when initialising client.

* provider/datadog Pull in new version of go-datadog-api.

* provider/datadog Update testAccCheckDatadogMonitorConfigNoThresholds test config.
2016-12-08 11:17:42 +01:00
Paul Stack a33f36218e Update CHANGELOG.md 2016-12-08 11:05:07 +01:00
Timon Wong 80afc6759b provider/aws: Add "no_device" support to ephemeral block devices (#10547)
Fixes #8455, #5390

This add a new `no_device` attribute to `ephemeral_block_device` block,
which allows users omit ephemeral devices from AMI's predefined block
device mappings, which is useful for EBS-only instance types.
2016-12-08 11:03:51 +01:00
Mitchell Hashimoto 134b438c92
update CHANGELOG 2016-12-07 20:53:10 -05:00
Mitchell Hashimoto 557375f2a2
Update panicwrap to pass through all interrupt signals 2016-12-07 20:51:45 -05:00
Mildred Ki'Lya 9ab7cab19e
Gracefully stops on SIGTERM 2016-12-07 20:50:03 -05:00
Mitchell Hashimoto 4ab5356ff9
website: update website for conditionals 2016-12-07 20:49:31 -05:00
Mitchell Hashimoto f7abd6eb1c Merge pull request #10591 from hashicorp/b-update-hil
vendor: update HIL with conditionals
2016-12-07 15:20:34 -08:00
Mitchell Hashimoto db3ca7587d
vendor: update HIL with conditionals 2016-12-07 18:13:48 -05:00
James Nugent b550310090 Merge pull request #10589 from kitsunde/patch-1
Keep a consistent provider order.
2016-12-07 16:48:30 -06:00
Kit Sunde 835d5cfa78 Keep a consistent provider order. 2016-12-08 06:10:34 +08:00
Paul Stack 297f7f7785 Update CHANGELOG.md 2016-12-07 22:52:17 +01:00
Ninir 5e3477664d provider/aws: Forces the api gateway domain name certificates to recreate the resource (#10588) 2016-12-07 22:51:44 +01:00
Paul Stack 942cdccf2d Update CHANGELOG.md 2016-12-07 21:47:50 +01:00
Ninir 4b25837dd0 provider/aws: FIxed the api_gw_domain_name replace operation (#10179) 2016-12-07 21:47:20 +01:00
James Nugent 7297be8e05 Merge pull request #10584 from jamtur01/notfmt
Fixed note formatting
2016-12-07 12:00:59 -06:00
James Turnbull 034a272cce Fixed note formatting 2016-12-07 12:57:37 -05:00
Walter Dolce 0101f12958 Explicitly say `count` is not supported by modules (#10553)
Reference: https://groups.google.com/forum/#!msg/terraform-tool/T3eB4pZ6waU/5hqs2SyGCAAJ
2016-12-07 16:33:15 +01:00
Paul Stack be44028945 docs/aws: Fix the discrepencies of the emr_cluster documentation (#10578)
Fixes #10296
2016-12-07 14:11:37 +01:00
Paul Stack 38e2a05899 Update CHANGELOG.md 2016-12-07 13:36:06 +01:00
Andras Ferencz-Szabo 53ebbed8df Service role is not updated on AWS for a CodeDeploy deployment group (#9866)
Service role is not updated on AWS for a CodeDeploy deployment group
2016-12-07 13:34:58 +01:00