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_acl_policy" "secrets_mysql" { name = "secrets-mysql" description = "Give access to MySQL secrets" rules_hcl = <