From d462bf23d83831c6216c76a785ad9e7ddfbaccff Mon Sep 17 00:00:00 2001 From: Rohith Jayawardene Date: Wed, 20 Mar 2024 19:50:04 +0000 Subject: [PATCH] feat: adding tags to the vpe --- main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/main.tf b/main.tf index 049a533..348bce5 100644 --- a/main.tf +++ b/main.tf @@ -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 }