Files
nomadfiles/concourse/main.tf
Amneesh Singh f3e0b2271a initial commit
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2022-03-29 08:46:30 +05:30

17 lines
293 B
HCL

provider "nomad" {}
//Set everything via environment variables
resource "nomad_job" "concourse" {
jobspec = file("./concourse.nomad")
hcl2 {
enabled = true
}
}
resource "nomad_job" "concourse-worker" {
jobspec = file("./concourse-worker.nomad")
hcl2 {
enabled = true
}
}