Requirements

No requirements.

Providers

Name Version
aws 4.13.0

Modules

No modules.

Resources

Name Type
aws_eip.eip resource
aws_instance.instance-1-subnet-a resource
aws_instance.instance-1-subnet-b resource
aws_internet_gateway.my-igw resource
aws_key_pair.mykeypair resource
aws_nat_gateway.my-nat-gateway resource
aws_route_table.private-route-table resource
aws_route_table.public-route-table resource
aws_route_table_association.association-subnet-a resource
aws_route_table_association.association-subnet-b resource
aws_security_group.my-security-group resource
aws_subnet.subnet-a resource
aws_subnet.subnet-b resource
aws_vpc.main resource

Inputs

Name Description Type Default Required
AMIS Ubuntu 20.04 focal map(any)
{
"eu-west-1": "ami-0076b212fad243d9e"
}
no
AWS_ACCESS_KEY Access Key any n/a yes
AWS_REGION Region string "eu-west-1" no
AWS_SECRET_KEY Secret Key any n/a yes

Outputs

Name Description
ip Print the public IP of the server-1 in the subnet-a