Skip to content

Commit

Permalink
add another field
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jan 18, 2022
1 parent deb521d commit 9f2f4bb
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions vpc-interface-endpoint/outputs.tf
Original file line number Diff line number Diff line change
@@ -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),
}
}

0 comments on commit 9f2f4bb

Please sign in to comment.