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
| <aname="input_cpu_options"></a> [cpu\_options](#input\_cpu\_options)| Defines CPU options to apply to the instance at launch time. |`any`|`{}`| no |
204
205
| <aname="input_cpu_threads_per_core"></a> [cpu\_threads\_per\_core](#input\_cpu\_threads\_per\_core)| Sets the number of CPU threads per core for an instance (has no effect unless cpu\_core\_count is also set) |`number`|`null`| no |
205
206
| <aname="input_create"></a> [create](#input\_create)| Whether to create an instance |`bool`|`true`| no |
207
+
| <aname="input_create_eip"></a> [create\_eip](#input\_create\_eip)| Determines whether a public EIP will be created and associated with the instance. |`bool`|`false`| no |
206
208
| <aname="input_create_iam_instance_profile"></a> [create\_iam\_instance\_profile](#input\_create\_iam\_instance\_profile)| Determines whether an IAM instance profile is created or to use an existing IAM instance profile |`bool`|`false`| no |
207
209
| <aname="input_create_spot_instance"></a> [create\_spot\_instance](#input\_create\_spot\_instance)| Depicts if the instance is a spot instance |`bool`|`false`| no |
208
210
| <aname="input_disable_api_stop"></a> [disable\_api\_stop](#input\_disable\_api\_stop)| If true, enables EC2 Instance Stop Protection |`bool`|`null`| no |
209
211
| <aname="input_disable_api_termination"></a> [disable\_api\_termination](#input\_disable\_api\_termination)| If true, enables EC2 Instance Termination Protection |`bool`|`null`| no |
210
212
| <aname="input_ebs_block_device"></a> [ebs\_block\_device](#input\_ebs\_block\_device)| Additional EBS block devices to attach to the instance |`list(any)`|`[]`| no |
211
213
| <aname="input_ebs_optimized"></a> [ebs\_optimized](#input\_ebs\_optimized)| If true, the launched EC2 instance will be EBS-optimized |`bool`|`null`| no |
214
+
| <aname="input_eip_domain"></a> [eip\_domain](#input\_eip\_domain)| Indicates if this EIP is for use in VPC |`string`|`"vpc"`| no |
215
+
| <aname="input_eip_tags"></a> [eip\_tags](#input\_eip\_tags)| A map of additional tags to add to the eip |`map(string)`|`{}`| no |
212
216
| <aname="input_enable_volume_tags"></a> [enable\_volume\_tags](#input\_enable\_volume\_tags)| Whether to enable volume tags (if enabled it conflicts with root\_block\_device tags) |`bool`|`true`| no |
213
217
| <aname="input_enclave_options_enabled"></a> [enclave\_options\_enabled](#input\_enclave\_options\_enabled)| Whether Nitro Enclaves will be enabled on the instance. Defaults to `false`|`bool`|`null`| no |
214
218
| <aname="input_ephemeral_block_device"></a> [ephemeral\_block\_device](#input\_ephemeral\_block\_device)| Customize Ephemeral (also known as Instance Store) volumes on the instance |`list(map(string))`|`[]`| no |
@@ -286,7 +290,7 @@ No modules.
286
290
| <aname="output_private_dns"></a> [private\_dns](#output\_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 |
287
291
| <aname="output_private_ip"></a> [private\_ip](#output\_private\_ip)| The private IP address assigned to the instance |
288
292
| <aname="output_public_dns"></a> [public\_dns](#output\_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 |
289
-
| <aname="output_public_ip"></a> [public\_ip](#output\_public\_ip)| The public IP address assigned to the instance, if applicable. NOTE: If you are using an aws\_eip 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 |
293
+
| <aname="output_public_ip"></a> [public\_ip](#output\_public\_ip)| The public IP address assigned to the instance, if applicable. |
290
294
| <aname="output_root_block_device"></a> [root\_block\_device](#output\_root\_block\_device)| Root block device information |
291
295
| <aname="output_spot_bid_status"></a> [spot\_bid\_status](#output\_spot\_bid\_status)| The current bid status of the Spot Instance Request |
292
296
| <aname="output_spot_instance_id"></a> [spot\_instance\_id](#output\_spot\_instance\_id)| The Instance ID (if any) that is currently fulfilling the Spot Instance request |
Copy file name to clipboardExpand all lines: outputs.tf
+2-1
Original file line number
Diff line number
Diff line change
@@ -89,8 +89,9 @@ output "public_dns" {
89
89
}
90
90
91
91
output"public_ip" {
92
-
description="The public IP address assigned to the instance, if applicable. NOTE: If you are using an aws_eip 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"
92
+
description="The public IP address assigned to the instance, if applicable."
0 commit comments