Deploy AWS EC2 Instance by using a dedicated Terraform module.
Name | Version |
---|---|
aws | 4.34.0 |
Name | Version |
---|---|
aws | 4.34.0 |
No modules.
Name | Type |
---|---|
aws_instance.ec2 | resource |
aws_network_interface.ec2_nic | resource |
aws_security_group.ec2_sg | resource |
aws_subnet.ec2_subnet | data source |
aws_vpc.ec2_vpc | data source |
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) |
{ |
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 |