Skip to content

Commit 1404bf0

Browse files
authored
Merge pull request #34 from sparkfabrik/fix/created_bucket_names
fix bucket output
2 parents fb6503e + 1dec7e7 commit 1404bf0

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)