You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: website/docs/r/eip.html.markdown
+5-3
Original file line number
Diff line number
Diff line change
@@ -103,9 +103,11 @@ The following arguments are supported:
103
103
*`instance` - (Optional) EC2 instance ID.
104
104
*`network_border_group` - (Optional) Location from which the IP address is advertised. Use this parameter to limit the address to this location.
105
105
*`network_interface` - (Optional) Network interface ID to associate with.
106
-
*`public_ipv4_pool` - (Optional) EC2 IPv4 address pool identifier or `amazon`. This option is only available for VPC EIPs.
106
+
*`public_ipv4_pool` - (Optional) EC2 IPv4 address pool identifier or `amazon`.
107
+
This option is only available for VPC EIPs.
107
108
*`tags` - (Optional) Map of tags to assign to the resource. Tags can only be applied to EIPs in a VPC. If configured with a provider [`default_tags` configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
108
109
*`vpc` - (Optional) Boolean if the EIP is in a VPC or not.
110
+
Defaults to `true` unless the region supports EC2-Classic.
109
111
110
112
~> **NOTE:** You can specify either the `instance` ID or the `network_interface` ID, but not both. Including both will **not** return an error from the AWS API, but will have undefined behavior. See the relevant [AssociateAddress API Call][1] for more information.
111
113
@@ -120,7 +122,7 @@ In addition to all arguments above, the following attributes are exported:
120
122
*`association_id` - ID representing the association of the address with an instance in a VPC.
121
123
*`carrier_ip` - Carrier IP address.
122
124
*`customer_owned_ip` - Customer owned IP.
123
-
*`domain` - Indicates if this EIP is for use in VPC (`vpc`) or EC2Classic (`standard`).
125
+
*`domain` - Indicates if this EIP is for use in VPC (`vpc`) or EC2-Classic (`standard`).
124
126
*`id` - Contains the EIP allocation ID.
125
127
*`private_dns` - The Private DNS associated with the Elastic IP address (if in VPC).
126
128
*`private_ip` - Contains the private IP address (if in VPC).
@@ -146,7 +148,7 @@ EIPs in a VPC can be imported using their Allocation ID, e.g.,
146
148
$ terraform import aws_eip.bar eipalloc-00a10e96
147
149
```
148
150
149
-
EIPs in EC2Classic can be imported using their Public IP, e.g.,
151
+
EIPs in EC2-Classic can be imported using their Public IP, e.g.,
0 commit comments