homelab-nomad/mysql/mysql.tf
2022-02-27 15:22:09 -08:00

17 lines
260 B
HCL

# Create mysql server
resource "nomad_job" "mysql-server" {
hcl2 {
enabled = true
}
jobspec = file("${path.module}/mysql.nomad")
}
resource "nomad_job" "adminer" {
hcl2 {
enabled = true
}
jobspec = file("${path.module}/adminer.nomad")
}