resource "nomad_job" "whoami" { hcl2 { vars = { "count" = 4, } } jobspec = templatefile("${path.module}/whoami.nomad", { use_wesher = var.use_wesher }) }