homelab-nomad/mysql/mysql.tf

17 lines
260 B
Terraform
Raw Normal View History

2022-02-27 23:22:09 +00:00
# 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")
}