Commit fd98462c authored by Ilia Lazebnik's avatar Ilia Lazebnik Committed by GitHub

feat: Add support for tagging egress only internet gateway (#430)

parent 639fe65e
...@@ -106,6 +106,14 @@ resource "aws_egress_only_internet_gateway" "this" { ...@@ -106,6 +106,14 @@ resource "aws_egress_only_internet_gateway" "this" {
count = var.create_vpc && var.enable_ipv6 && local.max_subnet_length > 0 ? 1 : 0 count = var.create_vpc && var.enable_ipv6 && local.max_subnet_length > 0 ? 1 : 0
vpc_id = local.vpc_id vpc_id = local.vpc_id
tags = merge(
{
"Name" = format("%s", var.name)
},
var.tags,
var.igw_tags,
)
} }
################ ################
......
...@@ -2,6 +2,6 @@ terraform { ...@@ -2,6 +2,6 @@ terraform {
required_version = ">= 0.12.6, < 0.14" required_version = ">= 0.12.6, < 0.14"
required_providers { required_providers {
aws = "~> 2.53" aws = "~> 2.57"
} }
} }
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