diff options
Diffstat (limited to 'fdio.infra.terraform/1n_nmd/prometheus')
-rw-r--r-- | fdio.infra.terraform/1n_nmd/prometheus/conf/nomad/prometheus.hcl | 5 | ||||
-rw-r--r-- | fdio.infra.terraform/1n_nmd/prometheus/providers.tf (renamed from fdio.infra.terraform/1n_nmd/prometheus/versions.tf) | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/fdio.infra.terraform/1n_nmd/prometheus/conf/nomad/prometheus.hcl b/fdio.infra.terraform/1n_nmd/prometheus/conf/nomad/prometheus.hcl index 4451d72f7a..368a361184 100644 --- a/fdio.infra.terraform/1n_nmd/prometheus/conf/nomad/prometheus.hcl +++ b/fdio.infra.terraform/1n_nmd/prometheus/conf/nomad/prometheus.hcl @@ -139,6 +139,11 @@ job "${job_name}" { value = "arm64" } + constraint { + attribute = "$${node.class}" + value = "builder" + } + # The "task" stanza creates an individual unit of work, such as a Docker # container, web application, or batch processing. # diff --git a/fdio.infra.terraform/1n_nmd/prometheus/versions.tf b/fdio.infra.terraform/1n_nmd/prometheus/providers.tf index 960bd4bba6..1399201d21 100644 --- a/fdio.infra.terraform/1n_nmd/prometheus/versions.tf +++ b/fdio.infra.terraform/1n_nmd/prometheus/providers.tf @@ -9,5 +9,5 @@ terraform { version = "~> 2.1.2" } } - required_version = ">= 0.13" + required_version = ">= 1.0.3" } |