vpc
azavea/vpc/aws
A Terraform module to create an Amazon Web Services (AWS) Virtual Private Cloud (VPC).
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-
| Name | Type | Description | Default |
|---|---|---|---|
| project | string | Name of project this VPC is meant to house | required |
| environment | string | Name of environment this VPC is targeting | required |
| public_subnet_cidr_blocks | list(any) | List of public subnet CIDR blocks | [
"10.0.0.0/24",
"10.0.2.0/24"
] |
| tags | map(string) | Extra tags to attach to the VPC resources | {} |
| region | string | Region of the VPC | "us-east-1" |
| cidr_block | string | CIDR block for the VPC | "10.0.0.0/16" |
| private_subnet_cidr_blocks | list(any) | List of private subnet CIDR blocks | [
"10.0.1.0/24",
"10.0.3.0/24"
] |
| availability_zones | list(any) | List of availability zones | [
"us-east-1a",
"us-east-1b"
] |
| name | string | Name of the VPC | "Default" |
id — VPC IDpublic_subnet_ids — List of public subnet IDsprivate_subnet_ids — List of private subnet IDscidr_block — The CIDR block associated with the VPCnat_gateway_ips — List of Elastic IPs associated with NAT gatewaysAzure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,