Commit ed3b426e authored by Miguel Ferreira's avatar Miguel Ferreira Committed by Anton Babenko

Ignore changes to propagating_vgws of private routing table (#50)

parent fd9f2fbd
...@@ -81,6 +81,12 @@ resource "aws_route_table" "private" { ...@@ -81,6 +81,12 @@ resource "aws_route_table" "private" {
propagating_vgws = ["${var.private_propagating_vgws}"] propagating_vgws = ["${var.private_propagating_vgws}"]
tags = "${merge(var.tags, var.private_route_table_tags, map("Name", format("%s-private-%s", var.name, element(var.azs, count.index))))}" tags = "${merge(var.tags, var.private_route_table_tags, map("Name", format("%s-private-%s", var.name, element(var.azs, count.index))))}"
lifecycle {
# When attaching VPN gateways it is common to define aws_vpn_gateway_route_propagation
# resources that manipulate the attributes of the routing table (typically for the private subnets)
ignore_changes = ["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