terraform/builtin/providers
Clint b7ad602993 provider/aws: Fix importing of EIP by IP address (#8970)
* provider/aws: Fix importing of EIP by IP address

EIPs are meant to be imported by their allocation id, however, importing
by their EIP *appears* to work because this API actually accepts IP
lookup, despite the documentation asking for the allocation id.

This PR does:

- update docs on how to import EIPs
- fix case if user imported by IP, to switch to using the alloc id for
the resource id

I chose not to document that looking up by IP is a method of import,
because the AWS  API docs do not explicitly say that looking up by IP is
OK, so I'd rather people not do it if it's not documented to stay that
way.

Alternatively, we could parse the resource ID and reject it (remove from
state with error/warning) if it doesn't match the `eipalloc-*` format,
but I thought this was a bit better UX.

* fix issue with swapping IDs on EC2 Classic

* update docs

* update comment
2016-09-22 21:53:21 -05:00
..
archive
atlas
aws provider/aws: Fix importing of EIP by IP address (#8970) 2016-09-22 21:53:21 -05:00
azure
azurerm Add normalizeJsonString and validateJsonString functions. 2016-09-17 23:34:50 +01:00
bitbucket provider/bitbucket: Remove unnecessary casts. 2016-09-22 17:35:03 +10:00
chef
clc
cloudflare
cloudstack Support recreating clients and configuring Chef Vaults (#8577) 2016-09-15 14:20:18 +02:00
cobbler
consul Make consul provider settings truly optional 2016-08-30 08:28:03 -05:00
datadog provider/datadog: Govendor update dependencies (#8428) 2016-08-29 21:30:31 +01:00
digitalocean helper/schema: Add diff suppression callback 2016-08-31 19:13:53 -05:00
dme
dnsimple
docker
dyn
fastly Minor typos 2016-09-01 11:30:55 +01:00
github provider/github: Remove unsafe ptr dereferencing (#8512) 2016-08-28 17:15:03 +01:00
google providers/google: Add documentation for google_iam_policy resource 2016-09-07 13:35:33 -07:00
grafana
heroku
influxdb
librato provider/librato: Randomize the test case names as dangling resources were causing failures 2016-09-22 12:43:06 +01:00
logentries
mailgun
mysql use hashicorp/go-version to parse mysql server version 2016-08-31 10:50:08 +02:00
null
openstack Merge pull request #8172 from jtopjian/openstack-volumeattach-fix 2016-08-24 09:36:23 -06:00
packet
postgresql provider/postgres: Fix acceptance tests 2016-09-05 15:39:57 -07:00
powerdns
rabbitmq provider/rabbitmq: script to build acceptance test environment 2016-09-01 19:04:42 +00:00
random
rundeck
scaleway provider/scaleway: fix security_group_rule identification 2016-09-05 16:29:18 +02:00
softlayer
statuscake enable contact-group id in statuscake test 2016-08-23 14:43:31 +00:00
template Revert "providers/template: template_file supports floating point math" 2016-09-02 15:20:03 -05:00
terraform state/remote: Officially Support local backend 2016-09-03 15:42:40 -07:00
test provider/test: Add test of data source count.index 2016-09-03 13:58:30 -07:00
tls
triton provider/triton: Id trying to be used before being set 2016-08-30 23:19:04 +01:00
ultradns
vcd
vsphere