Skip to content

Commit

Permalink
feat: adding tags to the vpe
Browse files Browse the repository at this point in the history
  • Loading branch information
gambol99 committed Mar 20, 2024
1 parent 1f9ece8 commit d462bf2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ resource "aws_vpc_endpoint" "vpe_endpoints" {
security_group_ids = [module.private_links[0].security_group_id]
service_name = "com.amazonaws.${data.aws_region.current.name}.${each.value}"
subnet_ids = local.private_subnet_ids
tags = merge(var.tags, { Name = "vpe-${each.value}-${var.name}" })
vpc_endpoint_type = "Interface"
vpc_id = module.vpc.vpc_attributes.id
}
Expand Down

0 comments on commit d462bf2

Please sign in to comment.