Skip to content

Latest commit

 

History

History
executable file
·
40 lines (28 loc) · 1.17 KB

README.md

File metadata and controls

executable file
·
40 lines (28 loc) · 1.17 KB

README

Terraform scripts to create three peered VPCs within a single AWS account.

The TF plan will create three VPCs. Each VPC contains the following resources:

  • x1 public route table
  • x1 internet gateway
  • x2 public subnets
  • x2 private subnets
  • Peering connections and peering routes

The second and third VPCs are peered with first VPC.

There is no peering route between the second and third VPCs.

The plan also contains an init.sh script. This script enables remote state to AWS S3:

Prerequisites

How do I get set up?

  • Clone the repo
  • Create terraform.tfvars
  • Create an S3 bucket
  • Update the init.sh BUCKET and REGION vars
  • Run the init.sh file
  • Run terraform plan (to plan the deployment)
  • Run terraform apply (to apply the plan and deploy all resources)
  • Run terraform destroy (to destroy all deployed resources)

Who do I talk to?

  • Rich Bos