Deploy AWS EC2 Instance by using a dedicated Terraform module.
No modules.
| Name |
Description |
Type |
Default |
Required |
| Environment |
Name of the working environment |
string |
"dev" |
no |
| Project |
Project Name |
string |
"project_test" |
no |
| ec2_ami |
AMI of the instance EC2 |
string |
n/a |
yes |
| ec2_iam_instance_profile |
EC2 IAM Instance Profile |
string |
"ecsInstanceRole" |
no |
| ec2_instance_name |
Name of the instance EC2 |
string |
"ec2_test" |
no |
| ec2_instance_type |
EC2 instance type |
string |
"t3.micro" |
no |
| ec2_security_group_name |
EC2 Security Group Name |
string |
"ec2_default_sg" |
no |
| ecs_cluster_name |
ECS Cluster Name associated to EC2 instance |
string |
"default_ecs_clu" |
no |
| global_tags |
Global tags for each resources |
map(string) |
{ "ManagedBy": "Terraform", "Module_tf": "ec2" } |
no |
| subnet_name |
Name of the Subnet |
string |
n/a |
yes |
| vpc_name |
Name of VPC associated to the Load Balancer |
string |
n/a |
yes |
| Name |
Description |
| aws_instance |
Output EC2 Instance object attributes |