feat/add-job-variables #2

Merged
lanson merged 6 commits from feat/add-job-variables into main 2024-02-25 11:45:13 +00:00
Showing only changes of commit 439675a4a2 - Show all commits

View File

@ -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] : {}
}
}