From 4da6f2fd25cd1e46ed2814f340652db2e004a7c5 Mon Sep 17 00:00:00 2001 From: Byungjin Park Date: Fri, 22 Sep 2023 15:23:10 +0900 Subject: [PATCH] Fix service_associations output for lattice-service-network module --- modules/lattice-service-network/outputs.tf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/lattice-service-network/outputs.tf b/modules/lattice-service-network/outputs.tf index 62a8295..0010edc 100644 --- a/modules/lattice-service-network/outputs.tf +++ b/modules/lattice-service-network/outputs.tf @@ -66,7 +66,11 @@ output "service_associations" { status = association.status created_by = association.created_by - service = association.service + service = association.service_identifier + + domain = one(association.dns_entry[*].domain_name) + zone_id = one(association.dns_entry[*].hosted_zone_id) + custom_domain = association.custom_domain_name } } }