terraform/builtin/providers
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
..
archive
atlas
aws provider/aws: aws_vpc_peering_connection: import fix 2016-12-09 12:05:06 +00:00
azure
azurerm provider/azurerm: fix virtual_machine reading plan as the wrong type (#10626) 2016-12-09 10:41:45 +01:00
bitbucket
chef provider/chef: Updating the provider_test comments to remove a company name (#10197) 2016-11-18 10:53:21 +02:00
clc
cloudflare
cloudstack Properly support secundary IP addresses (#10420) 2016-11-29 20:48:38 +01:00
cobbler
consul Fixes for consul_service resource (#9366) 2016-10-26 13:07:00 +01:00
datadog provider/datadog 9869: Validate credentials when initialising client. (#10567) 2016-12-08 11:17:42 +01:00
digitalocean Fix future vet errors in providers 2016-11-10 18:10:43 -05:00
dme [WIP] provider/azurerm: Bump sdk version to 7.0.1 (#10458) 2016-12-06 08:39:47 +00:00
dnsimple
docker provider/docker: Upload files into container before first start (#9520) 2016-12-05 11:06:34 +00:00
dyn
external "external" data source, for integrating with external programs (#8768) 2016-12-05 17:24:57 +00:00
fastly provider/fastly: add ssl_hostname option 2016-12-06 08:28:37 +00:00
github provider/github: supports importing resources (#10382) 2016-11-28 17:30:24 +00:00
google Fix instance/template metadata support 2016-12-05 02:45:28 -08:00
grafana
heroku
influxdb
librato
logentries
mailgun
mysql
nomad providers/nomad: use DefaultConfig to intialize all fields 2016-11-19 10:20:54 -08:00
null
openstack provider/openstack: Fix Ordering of Port Allowed Address Pairs (#10250) 2016-12-05 15:36:37 +00:00
packet
pagerduty Add pagerduty_user data source (#10541) 2016-12-05 22:42:58 +00:00
postgresql Added 'connect_timeout' argument to provider 'postgresql' (#10380) 2016-11-28 16:52:10 +00:00
powerdns
rabbitmq
rancher [Provider] Rancher (#9173) 2016-12-05 15:29:41 +00:00
random provider/random: Separate read from create 2016-11-06 17:05:11 -06:00
rundeck
scaleway provider/scaleway: improve volume attachment (#10084) 2016-11-17 15:08:05 +02:00
softlayer
statuscake
template providers/template: disallow file paths in `template` 2016-11-22 10:23:58 -08:00
terraform
test ResourceConfig.get should never return (nil, true) 2016-11-18 16:24:40 -05:00
tls
triton
ultradns
vault provider/vault: vault_generic_secret data source 2016-10-29 23:16:57 -07:00
vcd
vsphere