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
atlas
aws Succeed creating aws_volume_attachment if identical attachment exists (#11060) 2017-02-01 15:41:53 +00:00
azure
azurerm
bitbucket
chef
clc
cloudflare
cloudstack
cobbler
consul
datadog
digitalocean
dme
dnsimple
docker provider/docker: Add support for a list of pull_triggers within the docker_image resource. (#10845) 2017-01-03 16:10:39 +00:00
dyn
external
fastly
github
google
grafana
heroku
icinga2
ignition
influxdb
librato
logentries
mailgun
mysql
newrelic
nomad
ns1
null
openstack
opsgenie
packet
pagerduty
postgresql
powerdns
profitbricks
rabbitmq
rancher
random
rundeck
scaleway
softlayer
statuscake
template
terraform
test
tls
triton
ultradns
vault
vcd
vsphere