resource "nomad_job" "grafana" { jobspec = templatefile("${path.module}/grafana.nomad", { module_path = path.module use_wesher = var.use_wesher }) depends_on = [nomad_job.prometheus] } resource "nomad_acl_policy" "grafana_smtp_secrets" { name = "grafana-secrets-smtp" description = "Give access to MySQL secrets" rules_hcl = <>>>" : "}}" # } # }