We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd96d45 commit e342cc1Copy full SHA for e342cc1
eip.tf
@@ -14,6 +14,7 @@
14
15
resource "aws_eip" "mod_nat" {
16
count = "${((var.multi_az_nat_gateway * var.az_count) + (var.single_nat_gateway * 1))}"
17
+ tags = "${var.global_tags}"
18
vpc = true
19
}
20
nat-gateway.tf
@@ -16,6 +16,7 @@ resource "aws_nat_gateway" "nat_gateway" {
subnet_id = "${element(aws_subnet.public.*.id, count.index)}"
allocation_id = "${element(aws_eip.mod_nat.*.id, count.index)}"
depends_on = ["aws_internet_gateway.default","aws_eip.mod_nat","aws_subnet.public"]
21
lifecycle = {
22
ignore_changes = ["tags"]
0 commit comments