Exporters depend on prometheus
This commit is contained in:
parent
976f8f9e4e
commit
e0c8d1f3c1
@ -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" {
|
||||||
|
Loading…
Reference in New Issue
Block a user