From e0c8d1f3c1ee7977506553601fc783501800d2c8 Mon Sep 17 00:00:00 2001 From: IamTheFij Date: Fri, 6 Jan 2023 23:07:33 -0800 Subject: [PATCH] Exporters depend on prometheus --- core/metrics/metrics.tf | 2 ++ 1 file changed, 2 insertions(+) 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" {