Skip to content

Commit 4f618a4

Browse files
committed
Fix #433 - Add missing tags to EIGW
1 parent 23b0a02 commit 4f618a4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

main.tf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,13 @@ resource "aws_egress_only_internet_gateway" "this" {
106106
count = var.create_vpc && var.enable_ipv6 && local.max_subnet_length > 0 ? 1 : 0
107107

108108
vpc_id = local.vpc_id
109+
tags = merge(
110+
{
111+
"Name" = format("%s", var.name)
112+
},
113+
var.tags,
114+
var.igw_tags,
115+
)
109116
}
110117

111118
################

0 commit comments

Comments
 (0)