Skip to content

Commit

Permalink
lower the requirements and use two availability zones
Browse files Browse the repository at this point in the history
  • Loading branch information
rgl committed May 3, 2024
1 parent cdd4626 commit 1ab11ae
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions vpc.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ module "vpc" {
version = "5.8.1"

name = var.name_prefix
azs = ["${var.region}a", "${var.region}b", "${var.region}c"]
azs = ["${var.region}a", "${var.region}b"]
cidr = "10.0.0.0/16"
public_subnets = ["10.0.10.0/24", "10.0.11.0/24", "10.0.12.0/24"]
private_subnets = ["10.0.20.0/24", "10.0.21.0/24", "10.0.22.0/24"]
database_subnets = ["10.0.30.0/24", "10.0.31.0/24", "10.0.32.0/24"]
intra_subnets = ["10.0.40.0/24", "10.0.41.0/24", "10.0.42.0/24"]
public_subnets = ["10.0.10.0/24", "10.0.11.0/24"]
private_subnets = ["10.0.20.0/24", "10.0.21.0/24"]
database_subnets = ["10.0.30.0/24", "10.0.31.0/24"]
intra_subnets = ["10.0.40.0/24", "10.0.41.0/24"]
}

# see https://registry.terraform.io/modules/terraform-aws-modules/vpc/aws/latest/submodules/vpc-endpoints
Expand Down

0 comments on commit 1ab11ae

Please sign in to comment.