From 8e76e5ee050f855f23d001da3325ab8f1b49e4e0 Mon Sep 17 00:00:00 2001 From: Julio Diez Date: Thu, 2 Nov 2023 12:54:13 +0100 Subject: [PATCH] Group default URLs output --- .../serverless/cloud-run-microservices/outputs.tf | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/blueprints/serverless/cloud-run-microservices/outputs.tf b/blueprints/serverless/cloud-run-microservices/outputs.tf index 5646985d4..44fd79557 100644 --- a/blueprints/serverless/cloud-run-microservices/outputs.tf +++ b/blueprints/serverless/cloud-run-microservices/outputs.tf @@ -22,14 +22,12 @@ output "custom_domain" { ) } -output "default_URL_svc_a" { - description = "Cloud Run service A default URL." - value = google_cloud_run_v2_service.svc_a.uri -} - -output "default_URL_svc_b" { - description = "Cloud Run service B default URL." - value = module.cloud-run-svc-b.service.status[0].url +output "default_URLs" { + description = "Cloud Run services default URLs." + value = { + service_a = google_cloud_run_v2_service.svc_a.uri + service_b = module.cloud-run-svc-b.service.status[0].url + } } output "load_balancer_ip" {