caf-terraform-landingzones/caf_solution/dynamic_secrets.tf

17 строки
577 B
HCL

module "dynamic_keyvault_secrets" {
# source = "aztfmod/caf/azurerm//modules/security/dynamic_keyvault_secrets"
# version = "5.5.5"
source = "git::https://github.com/aztfmod/terraform-azurerm-caf.git//modules/security/dynamic_keyvault_secrets?ref=AL-base-tags"
for_each = {
for keyvault_key, secrets in try(var.dynamic_keyvault_secrets, {}) : keyvault_key => {
for key, value in secrets : key => value
if try(value.value, null) == null
}
}
settings = each.value
keyvault = module.solution.keyvaults[each.key]
objects = module.solution
}