Skip to content

Commit

Permalink
afix up tags
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Apr 3, 2023
1 parent 63158ad commit 40b777d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 1 addition & 3 deletions vpc-interface-endpoint/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@ resource "aws_vpc_endpoint" "interface_endpoint" {
tags = merge(
local.base_tags,
var.tags,
tomap({
Name = format("vpce-%v-%v", local.short_service, var.vpc_full_name)
})
{ Name = format("vpce-%v-%v", local.short_service, var.vpc_full_name) },
)
}
8 changes: 4 additions & 4 deletions vpc-interface-endpoint/route53.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ resource "aws_route53_zone" "vpce" {
}

tags = merge(
local.tags,
local.common_tags,
local.base_tags,
var.tags,
{ Name = data.aws_vpc_endpoint_service.interface_endpoint.private_dns_name },
)
}
Expand Down Expand Up @@ -144,8 +144,8 @@ resource "aws_ssm_parameter" "vpce" {
})

tags = merge(
local.tags,
local.common_tags,
local.base_tags,
var.tags,
{ "boc:vpc_endpoint" = data.aws_vpc_endpoint_service.interface_endpoint.service },
)
}

0 comments on commit 40b777d

Please sign in to comment.