Skip to content

Commit 3ddef14

Browse files
mr-joshuaantonbabenko
mr-joshua
authored andcommitted
change conditional private routes (terraform-aws-modules#36)
1 parent 8fc476b commit 3ddef14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ resource "aws_route" "public_internet_gateway" {
7070
# Private routes
7171
#################
7272
resource "aws_route_table" "private" {
73-
count = "${length(var.azs)}"
73+
count = "${length(var.private_subnets)}"
7474

7575
vpc_id = "${aws_vpc.this.id}"
7676
propagating_vgws = ["${var.private_propagating_vgws}"]

0 commit comments

Comments
 (0)