Networking Terraform Module for AWS
This Terraform module creates the base networking infrastructure on AWS.
![](https://camo.githubusercontent.com/4a4f4a52748905d2c445a2ea47ede2574c00672343a9f20c8e51b9a49bbfaa78/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f636e2d7465727261666f726d2f7465727261666f726d2d6177732d6e6574776f726b696e67)
Check valid versions on:
Name |
Version |
terraform |
>= 0.13 |
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 |