diff options
Diffstat (limited to 'fdio.infra.terraform/1n_nmd/grafana')
-rw-r--r-- | fdio.infra.terraform/1n_nmd/grafana/main.tf | 8 | ||||
-rw-r--r-- | fdio.infra.terraform/1n_nmd/grafana/variables.tf | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/fdio.infra.terraform/1n_nmd/grafana/main.tf b/fdio.infra.terraform/1n_nmd/grafana/main.tf index b67ba03985..e7cc1955c4 100644 --- a/fdio.infra.terraform/1n_nmd/grafana/main.tf +++ b/fdio.infra.terraform/1n_nmd/grafana/main.tf @@ -3,8 +3,8 @@ locals { } data "template_file" "nomad_job_grafana" { - template = file("${path.module}/conf/nomad/grafana.hcl") - vars = { + template = file("${path.module}/conf/nomad/grafana.hcl") + vars = { datacenters = local.datacenters job_name = var.grafana_job_name use_canary = var.grafana_use_canary @@ -19,6 +19,6 @@ data "template_file" "nomad_job_grafana" { } resource "nomad_job" "nomad_job_grafana" { - jobspec = data.template_file.nomad_job_grafana.rendered - detach = false + jobspec = data.template_file.nomad_job_grafana.rendered + detach = false }
\ No newline at end of file diff --git a/fdio.infra.terraform/1n_nmd/grafana/variables.tf b/fdio.infra.terraform/1n_nmd/grafana/variables.tf index 0c2382b16a..88f8bdade1 100644 --- a/fdio.infra.terraform/1n_nmd/grafana/variables.tf +++ b/fdio.infra.terraform/1n_nmd/grafana/variables.tf @@ -2,7 +2,7 @@ variable "nomad_datacenters" { description = "Nomad data centers" type = list(string) - default = [ "dc1" ] + default = ["dc1"] } # Grafana @@ -38,7 +38,7 @@ variable "grafana_use_canary" { variable "grafana_vault_secret" { description = "Set of properties to be able to fetch secret from vault" - type = object({ + type = object({ use_vault_provider = bool, vault_kv_policy_name = string, vault_kv_path = string, |