cluster/nomad/regions/homelab-1/website.tf

12 lines
250 B
Terraform
Raw Permalink Normal View History

resource "nomad_job" "website" {
jobspec = file("${path.module}/job/website.hcl")
hcl2 {
enabled = true
vars = {
flake_ref = "${var.flake_host}?rev=${var.flake_rev}&ref=${var.flake_ref}"
flake_sha = var.flake_sha
}
}
}