terraform/builtin/providers
Doug Neal babc52202c Succeed creating aws_volume_attachment if identical attachment exists (#11060)
If an `aws_volume_attachment` is identical to one that already exists in
the API, don't attempt to re-create it (which fails), simply act as
though the creation command had already been run and continue.

This allows Terraform to cleanly recover from a situation where a volume
attachment action hangs indefinitely, possibly due to a bad instance
state, requiring manual intervention such as an instance reboot. In such
a situation, Terraform believes the attachment has failed, when in fact
it succeeded after the timeout had expired. On the subsequent retry run,
attempting to re-create the attachment will fail outright, due to the
AttachVolume API call being non-idempotent. This patch implements the
idempotency client-side by matching the (name, vID, iID) tuple.

Note that volume attachments are not assigned an ID by the API.
2017-02-01 15:41:53 +00:00
..
alicloud
archive adding (backwards compatible) support for providing multiple source filename and content (#11271) 2017-01-23 22:17:45 +00:00
atlas
aws Succeed creating aws_volume_attachment if identical attachment exists (#11060) 2017-02-01 15:41:53 +00:00
azure
azurerm provider/azurerm: check if lb sub resources exist when reading (#11553) 2017-01-31 15:55:17 +00:00
bitbucket
chef
clc
cloudflare
cloudstack Make the hash consistent again (#11546) 2017-01-31 15:00:11 +01:00
cobbler
consul
datadog
digitalocean
dme
dnsimple
docker
dyn
external
fastly provider/fastly Adds papertrail logging (#11491) 2017-01-30 16:05:27 +00:00
github
google Merge pull request #11477 from gh-mlfowler/google-sql2-slave 2017-01-30 14:17:56 -08:00
grafana
heroku provider/heroku: Fix failing acceptance test (#11374) 2017-01-24 14:10:11 +02:00
icinga2
ignition provider/ignition: mount and path are mutually exclusive (#11409) 2017-01-27 21:28:42 +02:00
influxdb
librato
logentries
mailgun
mysql
newrelic
nomad
ns1 provider/ns1/record: Fix "use_client_subnet". (#11368) 2017-01-29 16:45:13 +00:00
null
openstack provider/openstack: Remove Default Security Group Rules (#11466) 2017-01-29 16:07:33 +00:00
opsgenie provider/opsgenie: Descriptions for Teams (#11391) 2017-01-29 15:52:23 +00:00
packet
pagerduty provider/pagerduty: Allow timeouts to be disabled (pagerduty_service) (#11483) 2017-01-29 16:06:44 +00:00
postgresql fix wrong usage of hashicorp/errwrap (#11500) 2017-01-29 19:19:48 +00:00
powerdns
profitbricks Fix vet errors in providers (#11496) 2017-01-29 15:59:55 +00:00
rabbitmq
rancher rancher_stack: Only read compose when catalog_id is empty (#11593) 2017-02-01 12:33:23 +00:00
random
rundeck
scaleway
softlayer
statuscake Fix statuscake test timeout schema (#11541) 2017-01-31 12:44:06 +00:00
template
terraform
test providers/test: additional testing via integration tests 2017-01-28 11:09:24 -08:00
tls
triton
ultradns
vault
vcd provider/vcd: Updated dependencies to use ukcloud/govcloudair (#11535) 2017-01-31 11:11:06 +00:00
vsphere Don't ignore VM power on errors. This prevents Terraform from hanging indefinitely for the VM to power on. (#11604) 2017-02-01 14:31:40 +00:00