Skip to content

Commit

Permalink
fix: failing module_enabled=false
Browse files Browse the repository at this point in the history
  • Loading branch information
mariux committed Jan 13, 2022
1 parent 1b2eb82 commit 6833b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module "iam" {
module_enabled = var.module_enabled
module_depends_on = var.module_depends_on

service_account_id = google_service_account.service_account[0].name
service_account_id = try(google_service_account.service_account[0].name, null)
role = try(each.value.role, null)
members = try(each.value.members, [])
authoritative = try(each.value.authoritative, true)
Expand Down

0 comments on commit 6833b08

Please sign in to comment.