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
| ami | The AMI to use for the instance. |`string`| n/a | yes |
144
-
| application | Application (e.g. `cd` or `clouddrove`). |`string`|`""`| no |
145
144
| assign\_eip\_address | Assign an Elastic IP address to the instance. |`bool`|`false`| no |
146
145
| associate\_public\_ip\_address | Associate a public IP address with the instance. |`bool`|`true`| no |
147
-
| attributes | Additional attributes (e.g. `1`). |`list`|`[]`| no |
148
-
| availability\_zone | Availability Zone the instance is launched in. If not set, will be launched in the first AZ of the region. |`list`|`[]`| no |
146
+
| attributes | Additional attributes (e.g. `1`). |`list(any)`|`[]`| no |
147
+
| availability\_zone | Availability Zone the instance is launched in. If not set, will be launched in the first AZ of the region. |`list(any)`|`[]`| no |
149
148
| cpu\_core\_count | Sets the number of CPU cores for an instance. |`string`|`null`| no |
150
149
| cpu\_credits | The credit option for CPU usage. Can be `standard` or `unlimited`. T3 instances are launched as unlimited by default. T2 instances are launched as standard by default. |`string`|`"standard"`| no |
151
150
| delimiter | Delimiter to be used between `organization`, `environment`, `name` and `attributes`. |`string`|`"-"`| no |
152
151
| disable\_api\_termination | If true, enables EC2 Instance Termination Protection. |`bool`|`false`| no |
153
152
| disk\_size | Size of the root volume in gigabytes. |`number`|`8`| no |
154
153
| dns\_enabled | Flag to control the dns\_enable. |`bool`|`false`| no |
155
154
| dns\_zone\_id | The Zone ID of Route53. |`string`|`""`| no |
156
-
| ebs\_block\_device | Additional EBS block devices to attach to the instance. |`list`|`[]`| no |
155
+
| ebs\_block\_device | Additional EBS block devices to attach to the instance. |`list(any)`|`[]`| no |
157
156
| ebs\_device\_name | Name of the EBS device to mount. |`list(string)`| <pre>[<br> "/dev/xvdb",<br> "/dev/xvdc",<br> "/dev/xvdd",<br> "/dev/xvde",<br> "/dev/xvdf",<br> "/dev/xvdg",<br> "/dev/xvdh",<br> "/dev/xvdi",<br> "/dev/xvdj",<br> "/dev/xvdk",<br> "/dev/xvdl",<br> "/dev/xvdm",<br> "/dev/xvdn",<br> "/dev/xvdo",<br> "/dev/xvdp",<br> "/dev/xvdq",<br> "/dev/xvdr",<br> "/dev/xvds",<br> "/dev/xvdt",<br> "/dev/xvdu",<br> "/dev/xvdv",<br> "/dev/xvdw",<br> "/dev/xvdx",<br> "/dev/xvdy",<br> "/dev/xvdz"<br>]</pre> | no |
158
157
| ebs\_iops | Amount of provisioned IOPS. This must be set with a volume\_type of io1. |`number`|`0`| no |
159
158
| ebs\_optimized | If true, the launched EC2 instance will be EBS-optimized. |`bool`|`false`| no |
@@ -162,31 +161,32 @@ Here is examples of how you can use this module in your inventory structure:
162
161
| ebs\_volume\_type | The type of EBS volume. Can be standard, gp2 or io1. |`string`|`"gp2"`| no |
163
162
| encrypted | If true, the disk will be encrypted. |`bool`|`false`| no |
| ephemeral\_block\_device | Customize Ephemeral (also known as Instance Store) volumes on the instance. |`list`|`[]`| no |
164
+
| ephemeral\_block\_device | Customize Ephemeral (also known as Instance Store) volumes on the instance. |`list(any)`|`[]`| no |
166
165
| host\_id | The Id of a dedicated host that the instance will be assigned to. Use when an instance is to be launched on a specific dedicated host. |`string`|`null`| no |
167
166
| hostname | DNS records to create. |`string`|`""`| no |
168
167
| iam\_instance\_profile | The IAM Instance Profile to launch the instance with. Specified as the name of the Instance Profile. |`string`|`""`| no |
169
168
| instance\_count | Number of instances to launch. |`number`|`1`| no |
170
169
| instance\_enabled | Flag to control the instance creation. |`bool`|`true`| no |
171
170
| instance\_initiated\_shutdown\_behavior | Shutdown behavior for the instance. |`string`|`""`| no |
172
171
| instance\_profile\_enabled | Flag to control the instance profile creation. |`bool`|`false`| no |
173
-
| instance\_tags | Instance tags. |`map`|`{}`| no |
172
+
| instance\_tags | Instance tags. |`map(any)`|`{}`| no |
174
173
| instance\_type | The type of instance to start. Updates to this field will trigger a stop/start of the EC2 instance. |`string`| n/a | yes |
175
174
| ipv6\_address\_count | 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 |
176
-
| ipv6\_addresses | List of IPv6 addresses from the range of the subnet to associate with the primary network interface. |`list`|`[]`| no |
175
+
| ipv6\_addresses | List of IPv6 addresses from the range of the subnet to associate with the primary network interface. |`list(any)`|`[]`| no |
177
176
| key\_name | The key name to use for the instance. |`string`|`""`| no |
178
177
| kms\_key\_id | The ARN for the KMS encryption key. When specifying kms\_key\_id, encrypted needs to be set to true. |`string`|`""`| no |
179
-
| label\_order | Label order, e.g. `name`,`application`. |`list`|`[]`| no |
180
-
| managedby | ManagedBy, eg 'CloudDrove' or 'AnmolNagpal'. |`string`|`"anmol@clouddrove.com"`| no |
178
+
| label\_order | Label order, e.g. `name`,`application`. |`list(any)`|`[]`| no |
179
+
| managedby | ManagedBy, eg 'CloudDrove'. |`string`|`"hello@clouddrove.com"`| no |
181
180
| monitoring | If true, the launched EC2 instance will have detailed monitoring enabled. (Available since v0.6.0). |`bool`|`false`| no |
182
181
| name | Name (e.g. `app` or `cluster`). |`string`|`""`| no |
183
182
| network\_interface | Customize network interfaces to be attached at instance boot time. |`list(map(string))`|`[]`| no |
184
183
| placement\_group | The Placement Group to start the instance in. |`string`|`""`| no |
185
-
| root\_block\_device | Customize details about the root block device of the instance. See Block Devices below for details. |`list`|`[]`| no |
184
+
| repository | Terraform current module repo |`string`|`"https://registry.terraform.io/modules/clouddrove/ec2/aws/0.14.0"`| no |
185
+
| root\_block\_device | Customize details about the root block device of the instance. See Block Devices below for details. |`list(any)`|`[]`| no |
186
186
| 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 |
187
187
| subnet | VPC Subnet ID the instance is launched in. |`string`|`null`| no |
188
188
| subnet\_ids | A list of VPC Subnet IDs to launch in. |`list(string)`|`[]`| no |
189
-
| tags | Additional tags (e.g. map(`BusinessUnit`,`XYZ`). |`map`|`{}`| no |
189
+
| tags | Additional tags (e.g. map(`BusinessUnit`,`XYZ`). |`map(any)`|`{}`| no |
190
190
| tenancy | The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware. The host tenancy is not supported for the import-instance command. |`string`|`""`| no |
191
191
| ttl | The TTL of the record to add to the DNS zone to complete certificate validation. |`string`|`"300"`| no |
192
192
| type | Type of DNS records to create. |`string`|`"CNAME"`| no |
0 commit comments