diff --git a/main.tf b/main.tf index ab14d77..cb7df80 100644 --- a/main.tf +++ b/main.tf @@ -12,7 +12,7 @@ resource "nomad_job" "this" { purge_on_destroy = true hcl2 { allow_fs = true - vars = contains(keys(var.jobs_variables), each.key) ? var.jobs_variables[each.key] : {} + vars = var.jobs_variables[each.key] # contains(keys(var.jobs_variables), each.key) ? var.jobs_variables[each.key] : {} } }