aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.terraform/1n_nmd/alertmanager
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-08-27 07:24:38 +0000
committerpmikus <pmikus@cisco.com>2021-08-27 07:24:38 +0000
commitbcc8b334d1961894b54c080f3d58032aacb1a048 (patch)
tree8b499a765d9a4db71500bb7eab06df89bc099ecb /fdio.infra.terraform/1n_nmd/alertmanager
parentf325af2076e3b9b158227f275df595a626dd4a8e (diff)
Infra: Minor terraform cleanup
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I1f6c9b2f9e3ac607fac76b12100992d901820e38
Diffstat (limited to 'fdio.infra.terraform/1n_nmd/alertmanager')
-rw-r--r--fdio.infra.terraform/1n_nmd/alertmanager/conf/nomad/alertmanager.hcl5
-rw-r--r--fdio.infra.terraform/1n_nmd/alertmanager/providers.tf (renamed from fdio.infra.terraform/1n_nmd/alertmanager/versions.tf)2
2 files changed, 6 insertions, 1 deletions
diff --git a/fdio.infra.terraform/1n_nmd/alertmanager/conf/nomad/alertmanager.hcl b/fdio.infra.terraform/1n_nmd/alertmanager/conf/nomad/alertmanager.hcl
index 6b0d669d0e..ab92761ac2 100644
--- a/fdio.infra.terraform/1n_nmd/alertmanager/conf/nomad/alertmanager.hcl
+++ b/fdio.infra.terraform/1n_nmd/alertmanager/conf/nomad/alertmanager.hcl
@@ -123,6 +123,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/alertmanager/versions.tf b/fdio.infra.terraform/1n_nmd/alertmanager/providers.tf
index 960bd4bba6..1399201d21 100644
--- a/fdio.infra.terraform/1n_nmd/alertmanager/versions.tf
+++ b/fdio.infra.terraform/1n_nmd/alertmanager/providers.tf
@@ -9,5 +9,5 @@ terraform {
version = "~> 2.1.2"
}
}
- required_version = ">= 0.13"
+ required_version = ">= 1.0.3"
}