Core Configuration
Name to be used on all the resources as identifier. This value is used as a prefix for resource names.Example:
my-vpcThe CIDR block for the VPC.Example:
10.0.0.0/16A tenancy option for instances launched into the VPC.Valid values:
default, dedicated, hostA list of Availability zones in the region.Example:
["us-east-1a", "us-east-1b", "us-east-1c"]Subnet Configuration
A list of public subnets inside the VPC. Each subnet will be created in the corresponding availability zone from the
azs variable.Example: ["10.0.1.0/24", "10.0.2.0/24", "10.0.3.0/24"]A list of private subnets inside the VPC. Each subnet will be created in the corresponding availability zone from the
azs variable.Example: ["10.0.101.0/24", "10.0.102.0/24", "10.0.103.0/24"]A list of database subnets. Each subnet will be created in the corresponding availability zone from the
azs variable.Example: ["10.0.201.0/24", "10.0.202.0/24", "10.0.203.0/24"]A list of elasticache subnets. Each subnet will be created in the corresponding availability zone from the
azs variable.Example: ["10.0.301.0/24", "10.0.302.0/24", "10.0.303.0/24"]DNS Configuration
Should be true if you want to use private DNS within the VPC. When enabled, instances launched in the VPC receive DNS hostnames.
Should be true if you want to use private DNS within the VPC. When enabled, the Amazon provided DNS server is enabled.
NAT Gateway Configuration
Should be true if you want to provision NAT Gateways for each of your private networks. This enables private subnets to access the internet.
Should be true if you want to provision a single shared NAT Gateway across all of your private networks. When false and
enable_nat_gateway is true, one NAT Gateway is created per availability zone.Note: Setting this to true reduces costs but creates a single point of failure.VPC Endpoints
Should be true if you want to provision an S3 endpoint to the VPC. This allows resources in the VPC to access S3 without going through the internet gateway.
Should be true if you want to provision a DynamoDB endpoint to the VPC. This allows resources in the VPC to access DynamoDB without going through the internet gateway.
Subnet Groups
Controls if database subnet group should be created. When true and
database_subnets are provided, an RDS subnet group will be created.Network Configuration
Should be false if you do not want to auto-assign public IP on launch for instances in public subnets.
A list of Virtual Private Gateways (VGWs) the private route table should propagate. Used for VPN connections.Example:
["vgw-12345678"]A list of Virtual Private Gateways (VGWs) the public route table should propagate. Used for VPN connections.Example:
["vgw-12345678"]Tagging
A map of tags to add to all resources created by the module.Example:
Additional tags for the public subnets. These tags are merged with the
tags variable.Example:Additional tags for the private subnets. These tags are merged with the
tags variable.Example:Additional tags for the database subnets. These tags are merged with the
tags variable.Example:Additional tags for the elasticache subnets. These tags are merged with the
tags variable.Example: