Skip to content

Commit 66e472b

Browse files
authored
fix: Update apphub service_uri to be available after apply (#390)
1 parent a93e99e commit 66e472b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/simple_bucket/outputs.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ output "internal_kms_configuration" {
3636

3737
output "apphub_service_uri" {
3838
value = {
39-
service_uri = "//storage.googleapis.com/${google_storage_bucket.bucket.name}"
39+
service_uri = "//storage.googleapis.com/${element(split("//", google_storage_bucket.bucket.url), 1)}"
4040
service_id = substr(google_storage_bucket.bucket.name, 0, 63)
4141
location = var.location
4242
}

0 commit comments

Comments
 (0)