open-nomad/e2e/terraform/shared/nomad/client.hcl
Tim Gross ba7e7413ef
e2e: refactor Nomad configuration (#6560)
Share base configuration for telemetry and consul. Have the server
configurations respect the `var.server_count` config. Make changes
recommended by `shellcheck` in the provisioning scripts for this section.

Switch to OS/arch-tagged release bundles on S3 for compatibility with
adding Windows builds in the near future.
2019-10-28 08:21:02 -04:00

24 lines
381 B
HCL

client {
enabled = true
options {
# Allow jobs to run as root
"user.blacklist" = ""
# Allow rawexec jobs
"driver.raw_exec.enable" = "1"
# Allow privileged docker jobs
"docker.privileged.enabled" = "true"
}
host_volume "shared_data" {
path = "/tmp/data"
}
}
vault {
enabled = true
address = "http://active.vault.service.consul:8200"
}