thedevopsstore / terraform-vpc-3

create vpc using variables and data source

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

terraform-vpc-3

This code will create a VPC with two public subnets and two private subnets with internet gateway and natgateway for private subnet to communicate with internet

git clone https://github.com/thedevopsstore/terraform-vpc-3.git

cd terraform-vpc-3

terraform init

terraform plan -var="ENV=dev" -var="AWS_REGION=us-east-1"

terraform apply -var="ENV=dev" -var="AWS_REGION=us-east-1"

About

create vpc using variables and data source

License:Apache License 2.0


Languages

Language:HCL 100.0%