Skip to content

Commit 1dec7e7

Browse files
committed
fix bucket output
1 parent fb6503e commit 1dec7e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ output "service_account_id" {
6464
}
6565

6666
output "created_bucket_names" {
67-
value = [for bucket in google_storage_bucket.gitlab_bucket : bucket.name]
67+
value = { for short_name, bucket in google_storage_bucket.gitlab_bucket : short_name => bucket.name }
6868
description = "The list of the created buckets."
6969
}
7070

0 commit comments

Comments
 (0)