Output all CR services URLs

This commit is contained in:
Julio Diez 2023-02-23 21:07:57 +01:00
parent d538e066a2
commit f41bb15162
1 changed files with 12 additions and 0 deletions

View File

@ -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