terraform/website/source
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
..
assets docs: Fix misspelled words 2016-09-12 07:08:00 +01:00
docs provider/aws: Fix importing of EIP by IP address (#8970) 2016-09-22 21:53:21 -05:00
intro Minor typos 2016-09-01 11:30:55 +01:00
layouts Merge pull request #8775 from TimeIncOSS/f-aws-api-gateway-client-cert 2016-09-20 16:52:01 +01:00
upgrade-guides docs: Fix misspelled words 2016-09-12 07:08:00 +01:00
.gitignore
404.html.erb
community.html.erb website: fix community page typo 2016-08-02 20:00:02 -05:00
downloads.html.erb docs/website: Linking the downloads page to the upgrade guide for 0.7 (#7913) 2016-08-03 05:06:44 +10:00
index.html.erb
robots.txt
sitemap.xml.builder