test(job): test passing the variables anyways
This commit is contained in:
parent
7d683b2a6a
commit
439675a4a2
2
main.tf
2
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] : {}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user