From 6d47ff9ed5dfc45df37eaba7794ce03b41ec5da5 Mon Sep 17 00:00:00 2001 From: Julio Diez Date: Sun, 15 Oct 2023 21:55:30 +0200 Subject: [PATCH] Output custom domain URL --- blueprints/serverless/cloud-run-microservices/outputs.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/blueprints/serverless/cloud-run-microservices/outputs.tf b/blueprints/serverless/cloud-run-microservices/outputs.tf index 11238ab02..25a884e2b 100644 --- a/blueprints/serverless/cloud-run-microservices/outputs.tf +++ b/blueprints/serverless/cloud-run-microservices/outputs.tf @@ -14,6 +14,11 @@ * limitations under the License. */ +output "custom_domain" { + description = "Custom domain for the Application Load Balancer." + value = var.prj_svc1_id != null ? "http://${var.custom_domain}" : "none" +} + output "default_URL_client" { description = "Client Cloud Run service default URL." value = module.cloud_run_client.service.status[0].url