vpc

azavea/vpc/aws

Terraform Module HCL AWS

A Terraform module to create an Amazon Web Services (AWS) Virtual Private Cloud (VPC).

Install
module "vpc" {
source = "azavea/vpc/aws"
version = "7.0.0"
}
plain text: /constructs/tfmod-azavea-vpc-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-aws-vpc Warning Maintenance only. Not recommended to use for new projects (moving away from NAT Gateway's recommended). A Terraform module to create an Amazon Web Services (AWS) Virtual Private Cloud (VPC). Please run terraform fmt before trying to make a PR. Usage This module creates a VPC alongside a variety of related resources, including: - Public and private subnets - Public and private route tables - Elastic IPs - Network Interfaces - NAT Gateways - An Internet Gateway - A VPC Endpoint Example usage: ``hcl module "vpc" { source = "github.com/azavea/terraform-aws-vpc" name = "Default" region = "us-east-1" cidr_block = "10.0.0.0/16" private_subnet_cidr_blocks = ["10.0.1.0/24", "10.0.3.0/24"] public_subnet_cidr_blocks = ["10.0.0.0/24", "10.0.2.0/24"] availability_zones = ["us-

Inputs (9)
NameTypeDescriptionDefault
projectstringName of project this VPC is meant to house required
environmentstringName of environment this VPC is targeting required
public_subnet_cidr_blockslist(any)List of public subnet CIDR blocks[ "10.0.0.0/24", "10.0.2.0/24" ]
tagsmap(string)Extra tags to attach to the VPC resources{}
regionstringRegion of the VPC"us-east-1"
cidr_blockstringCIDR block for the VPC"10.0.0.0/16"
private_subnet_cidr_blockslist(any)List of private subnet CIDR blocks[ "10.0.1.0/24", "10.0.3.0/24" ]
availability_zoneslist(any)List of availability zones[ "us-east-1a", "us-east-1b" ]
namestringName of the VPC"Default"
Outputs (5)
id — VPC ID
public_subnet_ids — List of public subnet IDs
private_subnet_ids — List of private subnet IDs
cidr_block — The CIDR block associated with the VPC
nat_gateway_ips — List of Elastic IPs associated with NAT gateways
Resources (9)
aws_eipaws_internet_gatewayaws_nat_gatewayaws_routeaws_route_tableaws_route_table_associationaws_subnetaws_vpcaws_vpc_endpoint
Details
FrameworkTerraform Module
LanguageHCL
Version7.0.0
Cloud AWS
★ Stars29
Forks67
Total downloads7.1k
Inputs9
Outputs5
Resources9
LicenseApache-2.0
Namespaceazavea
Updated