Skip to content

Commit 12b7d40

Browse files
committed
revert "lower the requirements and use two availability zones"
documentdb actually requires a minimum of three availability zones see hashicorp/terraform-provider-aws#37210 this reverts commit 1ab11ae.
1 parent 1ab11ae commit 12b7d40

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

vpc.tf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ module "vpc" {
55
version = "5.8.1"
66

77
name = var.name_prefix
8-
azs = ["${var.region}a", "${var.region}b"]
8+
azs = ["${var.region}a", "${var.region}b", "${var.region}c"]
99
cidr = "10.0.0.0/16"
10-
public_subnets = ["10.0.10.0/24", "10.0.11.0/24"]
11-
private_subnets = ["10.0.20.0/24", "10.0.21.0/24"]
12-
database_subnets = ["10.0.30.0/24", "10.0.31.0/24"]
13-
intra_subnets = ["10.0.40.0/24", "10.0.41.0/24"]
10+
public_subnets = ["10.0.10.0/24", "10.0.11.0/24", "10.0.12.0/24"]
11+
private_subnets = ["10.0.20.0/24", "10.0.21.0/24", "10.0.22.0/24"]
12+
database_subnets = ["10.0.30.0/24", "10.0.31.0/24", "10.0.32.0/24"]
13+
intra_subnets = ["10.0.40.0/24", "10.0.41.0/24", "10.0.42.0/24"]
1414
}
1515

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

0 commit comments

Comments
 (0)