Skip to content

Commit

Permalink
Merge pull request #1554 from apichick/cf-v2-iam-fix
Browse files Browse the repository at this point in the history
Fix in IAM bindings of cloud function v2 module
  • Loading branch information
apichick authored Jul 31, 2023
2 parents a2eddd0 + 48e4651 commit 4f5d953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/cloud-function-v2/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f5d953

Please sign in to comment.