Exporters depend on prometheus

This commit is contained in:
IamTheFij 2023-01-06 23:07:33 -08:00
parent 976f8f9e4e
commit e0c8d1f3c1

View File

@ -22,6 +22,8 @@ resource "nomad_job" "grafana" {
jobspec = templatefile("${path.module}/grafana.nomad", { jobspec = templatefile("${path.module}/grafana.nomad", {
module_path = path.module module_path = path.module
}) })
depends_on = [nomad_job.prometheus]
} }
resource "consul_config_entry" "prometheus_intent" { resource "consul_config_entry" "prometheus_intent" {