We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a93e99e commit 66e472bCopy full SHA for 66e472b
modules/simple_bucket/outputs.tf
@@ -36,7 +36,7 @@ output "internal_kms_configuration" {
36
37
output "apphub_service_uri" {
38
value = {
39
- service_uri = "//storage.googleapis.com/${google_storage_bucket.bucket.name}"
+ service_uri = "//storage.googleapis.com/${element(split("//", google_storage_bucket.bucket.url), 1)}"
40
service_id = substr(google_storage_bucket.bucket.name, 0, 63)
41
location = var.location
42
}
0 commit comments