Merge pull request #1554 from apichick/cf-v2-iam-fix

Fix in IAM bindings of cloud function v2 module
This commit is contained in:
apichick 2023-07-31 13:22:06 +02:00 committed by GitHub
commit 4f5d953c93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ resource "google_cloudfunctions2_function" "function" {
}
resource "google_cloudfunctions2_function_iam_binding" "default" {
for_each = var.iam
for_each = local.iam
project = var.project_id
location = google_cloudfunctions2_function.function.location
cloud_function = google_cloudfunctions2_function.function.name