A terraform module to deploy an EC2 launch template
| Name |
Version |
| aws |
>= 4.67.0, < 5.0.0 |
| time |
~> 0.9.1 |
No modules.
| Name |
Description |
Type |
Default |
Required |
| ami_id |
AMI ID to use for the EC2 instances |
string |
"ami-02df9ea15c1778c9c" |
no |
| associate_public_ip_address |
Associate public IP address for the EC2 instances |
bool |
null |
no |
| availability_zone |
AWS availability zone where launch template will be created |
string |
null |
no |
| customer |
Customer for the current deployment |
string |
"" |
no |
| iam_instance_profile |
IAM instance profile to attach to the EC2 instances |
string |
null |
no |
| instance_initiated_shutdown_behavior |
Instance initiated shutdown behavior for the EC2 instances |
string |
null |
no |
| instance_type |
Instance type for the EC2 instances |
string |
"t3.medium" |
no |
| key_name |
Key name to use for the EC2 instances |
string |
"" |
no |
| monitoring |
Enable detailed monitoring for the EC2 instances |
bool |
false |
no |
| name |
The name of the launch template |
string |
n/a |
yes |
| root_volume_size |
Root volume size for the EC2 instances |
number |
20 |
no |
| root_volume_type |
Root volume type for the EC2 instances |
string |
"gp3" |
no |
| security_groups_ids |
Security groups IDs to attach to the EC2 instances |
list(string) |
[] |
no |
| spot_price |
Spot price for the EC2 instances |
string |
null |
no |
| tags |
Default tags to add to resources |
map(any) |
{} |
no |
| user_data |
User data to attach to the EC2 instances |
string |
null |
no |
| Name |
Description |
| arn |
The ARN of the launch template |
| id |
The ID of the launch template |
| latest_version |
The latest version of the launch template |