blob: 2e67085714e286641fff85d81586e7975bc92e13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
locals {
datacenters = join(",", var.datacenters)
}
resource "nomad_job" "nomad_job_csit_shim" {
jobspec = templatefile(
"${path.module}/conf/nomad/vpp-device.hcl.tftpl",
{
datacenters = local.datacenters
job_name = var.job_name
group_count = var.group_count
cpu = var.cpu
mem = var.memory
image_aarch64 = var.image_aarch64
image_x86_64 = var.image_x86_64
}
)
detach = false
}
|