depend log sinks from IAM roles, fixes #371

This commit is contained in:
Ludovico Magnocavallo
2021-12-01 12:08:04 +01:00
parent c8c51e8c59
commit 357f6d5939
3 changed files with 14 additions and 0 deletions

View File

@@ -213,6 +213,10 @@ resource "google_logging_folder_sink" "sink" {
filter = exclusion.value
}
}
depends_on = [
google_folder_iam_binding.authoritative
]
}
resource "google_storage_bucket_iam_member" "gcs-sinks-binding" {