Skip to content

Instantly share code, notes, and snippets.

@jwkidd3
Created July 16, 2019 18:15
Show Gist options
  • Save jwkidd3/c288e0c276cdff06e0e8579b9ce3c531 to your computer and use it in GitHub Desktop.
Save jwkidd3/c288e0c276cdff06e0e8579b9ce3c531 to your computer and use it in GitHub Desktop.
module "vpc" {
source = "terraform-aws-modules/vpc/aws"
version = "2.7.0"
name = "complete-example"
cidr = "10.10.0.0/16"
azs = ["us-east-1c", "us-east-1b"]
public_subnets = ["10.10.1.0/24", "10.10.2.0/24"]
private_subnets = ["10.10.3.0/24", "10.10.4.0/24"]
enable_nat_gateway = true
tags = {
Owner = "user"
Environment = "terraform.workspace"
Name = "terraform vpc"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment