Add IAM dependencies to outputs

This commit is contained in:
Wiktor Niesiobędzki
2024-09-03 16:41:41 +00:00
committed by Wiktor Niesiobędzki
parent 51ef390d04
commit e1c1ed3a23
7 changed files with 84 additions and 19 deletions

View File

@@ -30,7 +30,9 @@ output "id" {
value = "${local.prefix}${lower(var.name)}"
depends_on = [
google_storage_bucket.bucket,
google_storage_bucket_iam_binding.bindings
google_storage_bucket_iam_binding.bindings,
google_storage_bucket_iam_binding.authoritative,
google_storage_bucket_iam_member.bindings
]
}
@@ -39,7 +41,9 @@ output "name" {
value = "${local.prefix}${lower(var.name)}"
depends_on = [
google_storage_bucket.bucket,
google_storage_bucket_iam_binding.bindings
google_storage_bucket_iam_binding.bindings,
google_storage_bucket_iam_binding.authoritative,
google_storage_bucket_iam_member.bindings
]
}