homelab-nomad/services/nextcloud/nextcloud.tf
2022-11-02 12:59:32 -07:00

15 lines
259 B
HCL

locals {
backup_config = file("${path.module}/nextcloud-backup.hcl")
}
resource "nomad_job" "nextcloud" {
hcl2 {
enabled = true
vars = {
"backup_config" = local.backup_config,
}
}
jobspec = file("${path.module}/nextcloud.nomad")
}