From f41bb15162f4870cdb8a8bc0d9362c4a11621614 Mon Sep 17 00:00:00 2001 From: Julio Diez Date: Thu, 23 Feb 2023 21:07:57 +0100 Subject: [PATCH] Output all CR services URLs --- blueprints/serverless/cloud-run-corporate/outputs.tf | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/blueprints/serverless/cloud-run-corporate/outputs.tf b/blueprints/serverless/cloud-run-corporate/outputs.tf index 83be6388..4349f02b 100644 --- a/blueprints/serverless/cloud-run-corporate/outputs.tf +++ b/blueprints/serverless/cloud-run-corporate/outputs.tf @@ -14,6 +14,18 @@ * limitations under the License. */ +output "default_URL_cart" { + description = "Cloud Run service 'cart' default URL." + value = (var.custom_domain != null ? + module.cloud_run_cart[0].service.status[0].url : "none") +} + +output "default_URL_checkout" { + description = "Cloud Run service 'checkout' default URL." + value = (var.custom_domain != null ? + module.cloud_run_checkout[0].service.status[0].url : "none") +} + output "default_URL_hello" { description = "Cloud Run service 'hello' default URL." value = module.cloud_run_hello.service.status[0].url