resource "nomad_job" "mysql-server" { hcl2 { enabled = true } jobspec = file("${path.module}/mysql.nomad") # Block until deployed as there are servics dependent on this one detach = false } resource "nomad_job" "adminer" { hcl2 { enabled = true } jobspec = file("${path.module}/adminer.nomad") }