Skip to content

SkeltonThatcher/aws-vpc-peering-terraform

Repository files navigation

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

About

Terraform scripts to create three peered AWS VPCs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published