Skip to content

Commit

Permalink
fix: unsupported attribute when using policy_bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
czerasz committed Dec 29, 2021
1 parent 42301bf commit 7691713
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ module "iam" {
module_depends_on = var.module_depends_on

secret_id = google_secret_manager_secret.secret[0].secret_id
role = each.value.role
members = each.value.members
role = try(each.value.role, null)
members = try(each.value.members, null)
authoritative = try(each.value.authoritative, true)
policy_bindings = try(each.value.policy_bindings, null)
}

0 comments on commit 7691713

Please sign in to comment.