Skip to content

StuxxNet/iac-aws-groundwork

Repository files navigation

iac-aws-groundwork

Terraform package to create the groundwork for AWS

Requirements

Name Version
aws 4.65.0

Providers

Name Version
aws 4.65.0

Modules

No modules.

Resources

Name Type
aws_eip.nat_gateway resource
aws_internet_gateway.gw resource
aws_nat_gateway.private_network_nat_gateway resource
aws_route_table.private_route_table resource
aws_route_table.public_route_table resource
aws_route_table_association.private_route_table_association resource
aws_route_table_association.public_route_table_association resource
aws_subnet.private_subnets resource
aws_subnet.public_subnets resource
aws_vpc.main resource

Inputs

Name Description Type Default Required
default_tags The default tags for all resources. map(string)
{
"Environment": "Dev",
"Owner": "DevOps Team"
}
no
subnets n/a
map(object({
cidr_block = string
availability_zone = string
is_public = bool
}))
{
"private-01": {
"availability_zone": "eu-central-1a",
"cidr_block": "10.0.3.0/24",
"is_public": false
},
"private-02": {
"availability_zone": "eu-central-1b",
"cidr_block": "10.0.4.0/24",
"is_public": false
},
"private-03": {
"availability_zone": "eu-central-1c",
"cidr_block": "10.0.5.0/24",
"is_public": false
},
"public-01": {
"availability_zone": "eu-central-1a",
"cidr_block": "10.0.0.0/24",
"is_public": true
},
"public-02": {
"availability_zone": "eu-central-1b",
"cidr_block": "10.0.1.0/24",
"is_public": true
},
"public-03": {
"availability_zone": "eu-central-1c",
"cidr_block": "10.0.2.0/24",
"is_public": true
}
}
no
vpc_cidr_block The CIDR block for the VPC. string "10.0.0.0/16" no

Outputs

Name Description
private_subnets_ids The ID of the VPC
public_subnets_ids The ID of the VPC
vpc_id The ID of the VPC

About

Terraform package to create the groundwork for AWS

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages