Skip to content

Commit

Permalink
quickfix
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudlh committed Sep 23, 2020
1 parent fb4fad6 commit a358644
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modules/azuread/applications/keyvault.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
module keyvault_secret_policy {
count = try(var.keyvaults[var.settings.keyvault.keyvault_key].id, null) != null ? 1 : 0
# for_each = try(var.settings.keyvault.keyvault_key, {})
count = try(var.settings.keyvault, null) != null ? 1 : 0

source = "./keyvault"
settings = var.settings.keyvault
keyvault_id = var.keyvaults[var.settings.keyvault.keyvault_key].id
keyvault_id = try(var.keyvaults[var.settings.keyvault.keyvault_key].id, "")
password_expire_in_days = try(var.settings.password_expire_in_days, 180)

# Used by the az cli client id and ARM_CLIENT_ID
Expand Down

0 comments on commit a358644

Please sign in to comment.