Skip to content

Commit

Permalink
ad support to tag egress only internet gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
DrFaust92 committed May 25, 2020
1 parent 26bb020 commit e0299d7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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

vpc_id = local.vpc_id

tags = merge(
{
"Name" = format("%s", var.name)
},
var.tags,
var.igw_tags,
)
}

################
Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ terraform {
required_version = "~> 0.12.6"

required_providers {
aws = "~> 2.53"
aws = "~> 2.57"
}
}

0 comments on commit e0299d7

Please sign in to comment.