mirror of
https://git.sr.ht/~magic_rb/cluster
synced 2024-11-25 17:46:14 +01:00
5ed9ee1903
Signed-off-by: Magic_RB <magic_rb@redalder.org>
12 lines
250 B
HCL
12 lines
250 B
HCL
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
|
|
}
|
|
}
|
|
}
|