docs: Clarify aws_instance.public_ip w/ EIP behavior

Closes #1425
This commit is contained in:
Paul Hinze 2016-03-10 19:27:10 -06:00
parent d447eac958
commit 14ca7e3156
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ The following attributes are exported:
* `key_name` - The key name of the instance
* `public_dns` - The public DNS name assigned to the instance. For EC2-VPC, this
is only available if you've enabled DNS hostnames for your VPC
* `public_ip` - The public IP address assigned to the instance, if applicable.
* `public_ip` - The public IP address assigned to the instance, if applicable. **NOTE**: If you are using an [`aws_eip`](/docs/providers/aws/r/eip.html) with your instance, you should refer to the EIP's address directly and not use `public_ip`, as this field will change after the EIP is attached.
* `private_dns` - The private DNS name assigned to the instance. Can only be
used inside the Amazon EC2, and only available if you've enabled DNS hostnames
for your VPC