homelab-nomad/services/whoami.tf
Ian Fijolek d5078b24da Refactor use of wesher to be behind a variable toggle
Occasionally I run into issues with Wesher. This makes it easier to
disable use of Wesher by setting TF_VAR_use_wesher to false.
2023-08-24 12:51:32 -07:00

13 lines
200 B
HCL

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