This Terraform module creates the base networking infrastructure on AWS.
Check valid versions on:
- Github Releases: https://github.com/cn-terraform/terraform-aws-networking/releases
- Terraform Module Registry: https://registry.terraform.io/modules/cn-terraform/networking/aws
Name | Version |
---|---|
terraform | >= 0.13 |
Name | Version |
---|---|
aws | n/a |
Name | Description | Type | Default | Required |
---|---|---|---|---|
availability_zones | List of availability zones to be used by subnets | list |
n/a | yes |
name_prefix | Name prefix for resources on AWS | any |
n/a | yes |
private_subnets_cidrs_per_availability_zone | List of CIDRs to use on each availability zone for private subnets | list |
n/a | yes |
public_subnets_cidrs_per_availability_zone | List of CIDRs to use on each availability zone for public subnets | list |
n/a | yes |
single_nat | enable single NAT Gateway | bool |
false |
no |
vpc_cidr_block | AWS VPC CIDR Block | any |
n/a | yes |
Name | Description |
---|---|
availability_zones | List of availability zones used by subnets |
internet_gateway_id | ID of the generated Internet Gateway |
nat_gw_ids | List with the IDs of the NAT Gateways created on public subnets to provide internet to private subnets |
private_subnets_ids | List with the Private Subnets IDs |
private_subnets_route_table_id | ID of the Route Table used on Private networks |
public_subnets_ids | List with the Public Subnets IDs |
public_subnets_route_table_id | ID of the Route Tables used on Public networks |
vpc_cidr_block | The CIDR block of the VPC |
vpc_id | The ID of the VPC |