homelab-nomad/databases/mysql.tf

19 lines
324 B
Terraform
Raw Normal View History

2022-02-27 23:22:09 +00:00
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
2022-02-27 23:22:09 +00:00
}
resource "nomad_job" "adminer" {
hcl2 {
enabled = true
}
jobspec = file("${path.module}/adminer.nomad")
}