aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.terraform/1n_nmd/main.tf
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2022-02-09 09:58:09 +0100
committerPeter Mikus <pmikus@cisco.com>2022-02-09 08:59:07 +0000
commit0bbb81c4fd1afdee6eb23ba4d49171d8dced6b19 (patch)
treecf806d4fdcad01bcf8115f6784847f0fdc765363 /fdio.infra.terraform/1n_nmd/main.tf
parent0576c4293e05b1eded486b48a217495451a8b685 (diff)
feat(terraform): Refactor Alertmanager
- prepare for ETL Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I8931f76f78b5acee39716398b92e4b107d399773
Diffstat (limited to 'fdio.infra.terraform/1n_nmd/main.tf')
-rw-r--r--fdio.infra.terraform/1n_nmd/main.tf30
1 files changed, 0 insertions, 30 deletions
diff --git a/fdio.infra.terraform/1n_nmd/main.tf b/fdio.infra.terraform/1n_nmd/main.tf
index ed4f2b5ac3..7cdd245b7a 100644
--- a/fdio.infra.terraform/1n_nmd/main.tf
+++ b/fdio.infra.terraform/1n_nmd/main.tf
@@ -4,36 +4,6 @@
# and downstream modules can simply declare resources for that provider
# and have them automatically associated with the root provider
# configurations.
-module "alertmanager" {
- source = "./alertmanager"
- providers = {
- nomad = nomad.yul1
- }
-
- # nomad
- nomad_datacenters = ["yul1"]
-
- # alertmanager
- alertmanager_job_name = "prod-alertmanager"
- alertmanager_use_canary = true
- alertmanager_group_count = 1
- alertmanager_vault_secret = {
- use_vault_provider = false,
- vault_kv_policy_name = "kv-secret",
- vault_kv_path = "secret/data/prometheus",
- vault_kv_field_access_key = "access_key",
- vault_kv_field_secret_key = "secret_key"
- }
- alertmanager_version = "0.21.0"
- alertmanager_cpu = 1000
- alertmanager_mem = 1024
- alertmanager_port = 9093
- alertmanager_slack_jenkins_api_key = "TE07RD1V1/B01U1NV9HV3/hKZXJJ74g2JcISq4K3QC1eG9"
- alertmanager_slack_jenkins_channel = "fdio-jobs-monitoring"
- alertmanager_slack_default_api_key = "TE07RD1V1/B01UUK23B6C/hZTcCu42FUv8d6rtirHtcYIi"
- alertmanager_slack_default_channel = "fdio-infra-monitoring"
-}
-
module "grafana" {
source = "./grafana"
providers = {