/terraform-vpc-networking

Primary LanguageHCLGNU General Public License v3.0GPL-3.0

Terraform VPC Networking

The library includes a terraform design for provisioning AWS VPC networking.

Quick start

git clone https://github.com/leonli/terraform-vpc-networking
cd terraform-vpc-networking
cat > terraform.tfvars <<EOF
//AWS 
region      = "ap-southeast-1"
environment = "k8s"

/* module networking */
vpc_cidr             = "10.0.0.0/16"
public_subnets_cidr  = ["10.0.1.0/24", "10.0.2.0/24", "10.0.3.0/24"] //List of Public subnet cidr range
private_subnets_cidr = ["10.0.11.0/24", "10.0.12.0/24", "10.0.13.0/24"] //List of private subnet cidr range
EOF
terraform init
terraform plan
terraform apply