Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 2.97 KB

README.md

File metadata and controls

53 lines (39 loc) · 2.97 KB

AWS_EC2

Description

Deploy AWS EC2 Instance by using a dedicated Terraform module.

Requirements

Name Version
aws 4.34.0

Providers

Name Version
aws 4.34.0

Modules

No modules.

Resources

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

Inputs

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

Outputs

Name Description
aws_instance Output EC2 Instance object attributes