From 9f2f4bb3de2f38ce90c1adee0254bba638849b1b Mon Sep 17 00:00:00 2001 From: badra001 Date: Tue, 18 Jan 2022 09:07:39 -0500 Subject: [PATCH] add another field --- vpc-interface-endpoint/outputs.tf | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/vpc-interface-endpoint/outputs.tf b/vpc-interface-endpoint/outputs.tf index 1754dbf..4db0d46 100644 --- a/vpc-interface-endpoint/outputs.tf +++ b/vpc-interface-endpoint/outputs.tf @@ -1,11 +1,12 @@ output "vpce_service_info" { description = "VPC Interface Endpoint information for service" value = { - "name" : local.short_service, - "service_name" = aws_vpc_endpoint.interface_endpoint.service_name, - "id" : aws_vpc_endpoint.interface_endpoint.id, - "dns_entry" : aws_vpc_endpoint.interface_endpoint.dns_entry, - "subnet_ids" : aws_vpc_endpoint.interface_endpoint.subnet_ids, - "network_interface_ids" : aws_vpc_endpoint.interface_endpoint.network_interface_ids, + "name" = local.short_service, + "service_name" = aws_vpc_endpoint.interface_endpoint.service_name, + "id" = aws_vpc_endpoint.interface_endpoint.id, + "dns_entry" = aws_vpc_endpoint.interface_endpoint.dns_entry, + "subnet_ids" = aws_vpc_endpoint.interface_endpoint.subnet_ids, + "network_interface_ids" = aws_vpc_endpoint.interface_endpoint.network_interface_ids, + "subnet_ip_map" = zipmap(aws_vpc_endpoint.interface_endpoint.subnet_ids, aws_vpc_endpoint.interface_endpoint.network_interface_ids), } }