Skip to content

Commit

Permalink
feat: add a new VPC (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
soerenmartius authored Jun 24, 2024
2 parents e4e44fe + 8bf8edf commit 0fbbe2d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions stacks/terraform/vpc/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module "vpc" {
source = "terraform-aws-modules/vpc/aws"

name = "demo-vpc"
cidr = "10.0.0.0/16"

azs = ["eu-west-1a", "eu-west-1b", "eu-west-1c"]
private_subnets = ["10.0.1.0/24", "10.0.2.0/24", "10.0.3.0/24"]
public_subnets = ["10.0.101.0/24", "10.0.102.0/24", "10.0.103.0/24"]

enable_nat_gateway = true
enable_vpn_gateway = true

tags = {
Terraform = "true"
Environment = "dev"
}
}

0 comments on commit 0fbbe2d

Please sign in to comment.