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: README.md
+20-17Lines changed: 20 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -98,34 +98,36 @@ data "aws_ami" "ubuntu-xenial" {
98
98
| Name | Description | Type | Default | Required |
99
99
|------|-------------|:----:|:-----:|:-----:|
100
100
| ami | ID of AMI to use for the instance | string | n/a | yes |
101
-
| associate\_public\_ip\_address | If true, the EC2 instance will have associated public IP address |string|`"false"`| no |
101
+
| associate\_public\_ip\_address | If true, the EC2 instance will have associated public IP address |bool|`"false"`| no |
102
102
| cpu\_credits | The credit option for CPU usage (unlimited or standard) | string |`"standard"`| no |
103
-
| disable\_api\_termination | If true, enables EC2 Instance Termination Protection | string |`"false"`| no |
104
-
| ebs\_block\_device | Additional EBS block devices to attach to the instance | list |`<list>`| no |
105
-
| ebs\_optimized | If true, the launched EC2 instance will be EBS-optimized | string |`"false"`| no |
106
-
| ephemeral\_block\_device | Customize Ephemeral (also known as Instance Store) volumes on the instance | list |`<list>`| no |
103
+
| disable\_api\_termination | If true, enables EC2 Instance Termination Protection | bool |`"false"`| no |
104
+
| ebs\_block\_device | Additional EBS block devices to attach to the instance | list(map(string)) |`[]`| no |
105
+
| ebs\_optimized | If true, the launched EC2 instance will be EBS-optimized | bool |`"false"`| no |
106
+
| ephemeral\_block\_device | Customize Ephemeral (also known as Instance Store) volumes on the instance | list(map(string)) |`[]`| no |
107
+
| get\_password\_data | If true, wait for password data to become available and retrieve it. | bool |`"false"`| no |
107
108
| iam\_instance\_profile | The IAM Instance Profile to launch the instance with. Specified as the name of the Instance Profile. | string |`""`| no |
108
-
| instance\_count | Number of instances to launch |string|`"1"`| no |
109
+
| instance\_count | Number of instances to launch |number|`"1"`| no |
109
110
| instance\_initiated\_shutdown\_behavior | Shutdown behavior for the instance | string |`""`| no |
110
111
| instance\_type | The type of instance to start | string | n/a | yes |
111
-
| ipv6\_address\_count | A number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet. |string|`"0"`| no |
112
-
| ipv6\_addresses | Specify one or more IPv6 addresses from the range of the subnet to associate with the primary network interface | list |`<list>`| no |
112
+
| ipv6\_address\_count | A number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet. |number|`"0"`| no |
113
+
| ipv6\_addresses | Specify one or more IPv6 addresses from the range of the subnet to associate with the primary network interface | list(string)|`[]`| no |
113
114
| key\_name | The key name to use for the instance | string |`""`| no |
114
-
| monitoring | If true, the launched EC2 instance will have detailed monitoring enabled |string|`"false"`| no |
115
+
| monitoring | If true, the launched EC2 instance will have detailed monitoring enabled |bool|`"false"`| no |
115
116
| name | Name to be used on all resources as prefix | string | n/a | yes |
116
-
| network\_interface | Customize network interfaces to be attached at instance boot time | list |`<list>`| no |
117
+
| network\_interface | Customize network interfaces to be attached at instance boot time | list(map(string))|`[]`| no |
117
118
| placement\_group | The Placement Group to start the instance in | string |`""`| no |
118
119
| private\_ip | Private IP address to associate with the instance in a VPC | string |`""`| no |
119
-
| root\_block\_device | Customize details about the root block device of the instance. See Block Devices below for details | list |`<list>`| no |
120
-
| source\_dest\_check | Controls if traffic is routed to the instance when the destination address does not match the instance. Used for NAT or VPNs. | string |`"true"`| no |
120
+
| private\_ips | A list of private IP address to associate with the instance in a VPC. Should match the number of instances. | list(string) |`[]`| no |
121
+
| root\_block\_device | Customize details about the root block device of the instance. See Block Devices below for details | list(map(string)) |`[]`| no |
122
+
| source\_dest\_check | Controls if traffic is routed to the instance when the destination address does not match the instance. Used for NAT or VPNs. | bool |`"true"`| no |
121
123
| subnet\_id | The VPC Subnet ID to launch in | string |`""`| no |
122
-
| subnet\_ids | A list of VPC Subnet IDs to launch in | list |`<list>`| no |
123
-
| tags | A mapping of tags to assign to the resource | map |`<map>`| no |
124
+
| subnet\_ids | A list of VPC Subnet IDs to launch in | list(string)|`[]`| no |
125
+
| tags | A mapping of tags to assign to the resource | map(string)|`{}`| no |
124
126
| tenancy | The tenancy of the instance (if the instance is running in a VPC). Available values: default, dedicated, host. | string |`"default"`| no |
125
-
| use\_num\_suffix | Always append numerical suffix to instance name, even if instance_count is 1 |string|`"false"`| no |
127
+
| use\_num\_suffix | Always append numerical suffix to instance name, even if instance_count is 1 |bool|`"false"`| no |
126
128
| user\_data | The user data to provide when launching the instance | string |`""`| no |
127
-
| volume\_tags | A mapping of tags to assign to the devices created by the instance at launch time | map |`<map>`| no |
128
-
| vpc\_security\_group\_ids | A list of security group IDs to associate with | list | n/a | yes |
129
+
| volume\_tags | A mapping of tags to assign to the devices created by the instance at launch time | map(string)|`{}`| no |
130
+
| vpc\_security\_group\_ids | A list of security group IDs to associate with | list(string)| n/a | yes |
129
131
130
132
## Outputs
131
133
@@ -135,6 +137,7 @@ data "aws_ami" "ubuntu-xenial" {
135
137
| credit\_specification | List of credit specification of instances |
136
138
| id | List of IDs of instances |
137
139
| key\_name | List of key names of instances |
140
+
| password\_data | List of Base-64 encoded encrypted password data for the instance |
138
141
| placement\_group | List of placement groups of instances |
139
142
| primary\_network\_interface\_id | List of IDs of the primary network interface of instances |
140
143
| private\_dns | List of private DNS names assigned to the instances. Can only be used inside the Amazon EC2, and only available if you've enabled DNS hostnames for your VPC |
0 commit comments