Commit 3ddef14f authored by mr-joshua's avatar mr-joshua Committed by Anton Babenko

change conditional private routes (#36)

parent 8fc476b3
...@@ -70,7 +70,7 @@ resource "aws_route" "public_internet_gateway" { ...@@ -70,7 +70,7 @@ resource "aws_route" "public_internet_gateway" {
# Private routes # Private routes
################# #################
resource "aws_route_table" "private" { resource "aws_route_table" "private" {
count = "${length(var.azs)}" count = "${length(var.private_subnets)}"
vpc_id = "${aws_vpc.this.id}" vpc_id = "${aws_vpc.this.id}"
propagating_vgws = ["${var.private_propagating_vgws}"] propagating_vgws = ["${var.private_propagating_vgws}"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment