Ian Fijolek
d5078b24da
Occasionally I run into issues with Wesher. This makes it easier to disable use of Wesher by setting TF_VAR_use_wesher to false.
13 lines
200 B
HCL
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
|
|
})
|
|
}
|