terraform/website/source/docs
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
..
commands Fix a typo in the output command examples 2016-09-13 11:31:51 +01:00
configuration Point resource docs to the correct URL (#8969) 2016-09-21 08:32:08 -05:00
import Slight tweak to import docs to clarify state management commands (#8885) 2016-09-17 08:15:29 +01:00
internals website: Docs sweep for lists & maps 2016-07-28 15:49:53 -05:00
modules Fix typo (#8459) 2016-08-24 20:44:24 +01:00
plugins Updated Plugins section. (#8235) 2016-08-16 14:21:33 -05:00
providers provider/aws: Fix importing of EIP by IP address (#8970) 2016-09-22 21:53:21 -05:00
provisioners Fix typo in chef provisioner 2016-09-20 09:58:04 -07:00
state state/remote/azure: Correct documentation 2016-09-20 14:53:34 +01:00
index.html.markdown