diff --git a/blueprints/serverless/cloud-run-explore/outputs.tf b/blueprints/serverless/cloud-run-explore/outputs.tf index d792a7e82..61131ad8e 100644 --- a/blueprints/serverless/cloud-run-explore/outputs.tf +++ b/blueprints/serverless/cloud-run-explore/outputs.tf @@ -7,3 +7,10 @@ output "load_balancer_ip" { description = "LB IP that forwards to Cloud Run service" value = var.glb_create ? module.glb[0].address : "none" } + +# Custom domain for the Load Balancer. I'd prefer getting the value from the +# SSL certificate but it is not exported as output +output "custom_domain" { + description = "Custom domain for the Load Balancer" + value = var.glb_create ? var.custom_domain : "none" +}