resource "nomad_job" "mysql-server" { 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 = <