diff --git a/core/metrics/metrics.tf b/core/metrics/metrics.tf index 229ab2b..72429bb 100644 --- a/core/metrics/metrics.tf +++ b/core/metrics/metrics.tf @@ -22,6 +22,8 @@ resource "nomad_job" "grafana" { jobspec = templatefile("${path.module}/grafana.nomad", { module_path = path.module }) + + depends_on = [nomad_job.prometheus] } resource "consul_config_entry" "prometheus_intent" {