Output all CR services URLs
This commit is contained in:
parent
d538e066a2
commit
f41bb15162
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue