From 439675a4a2e2a9e90d7d7acc09a5501e502acdfb Mon Sep 17 00:00:00 2001 From: Bertrand Lanson Date: Sun, 25 Feb 2024 00:19:46 +0100 Subject: [PATCH] test(job): test passing the variables anyways --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] : {} } }