Apply terraform fmt for CI
Some checks failed
terraform-dev / validate (push) Failing after 47s
terraform-dev / plan (push) Has been skipped
terraform-dev / apply (push) Has been skipped

This commit is contained in:
Alexandr
2026-03-25 07:31:02 +03:00
parent ed66d17b70
commit 8f0f9b7f47
25 changed files with 317 additions and 317 deletions

View File

@ -5,9 +5,9 @@ locals {
"X-Disable-Provenance" = var.disable_provenance ? "true" : "false"
}
# Contact points configuration
contact_points = [
{
# Contact points configuration
contact_points = [
{
name = "default"
type = "slack"
is_default = true
@ -15,9 +15,9 @@ contact_points = [
webhook_url = data.vault_kv_secret_v2.secret_ext.data["mmwebhook_default"]
template = "../../../modules/grafana_contact_points/template/alerts_message_mm.template"
}
},
},
{
{
name = "infra-alerts-critical"
type = "slack"
is_default = false
@ -25,9 +25,9 @@ contact_points = [
webhook_url = data.vault_kv_secret_v2.secret_ext.data["mmwebhook_infra_alerts_critical"]
template = "../../../modules/grafana_contact_points/template/alerts_message_mm.template"
}
},
},
{
{
name = "infra-alerts-informational"
type = "slack"
is_default = false
@ -35,9 +35,9 @@ contact_points = [
webhook_url = data.vault_kv_secret_v2.secret_ext.data["mmwebhook_infra_alerts_info"]
template = "../../../modules/grafana_contact_points/template/alerts_message_mm.template"
}
},
},
{
{
name = "infra-alerts-test"
type = "slack"
is_default = false
@ -45,6 +45,6 @@ contact_points = [
webhook_url = data.vault_kv_secret_v2.secret_ext.data["mmwebhook_infra_alerts_test"]
template = "../../../modules/grafana_contact_points/template/alerts_message_mm.template"
}
}
]
}
]
}

View File

@ -76,7 +76,7 @@ datasources = [
# Notification policies configuration
notification_policies = [
{
{
contact_point = "infra-alerts-critical"
continue = true
matchers = [
@ -91,8 +91,8 @@ notification_policies = [
value = "infra"
}
]
},
{
},
{
contact_point = "infra-alerts-critical"
continue = true
matchers = [
@ -107,8 +107,8 @@ notification_policies = [
value = "infra"
}
]
},
{
},
{
contact_point = "infra-alerts-informational"
continue = true
matchers = [
@ -123,8 +123,8 @@ notification_policies = [
value = "infra"
}
]
},
{
},
{
contact_point = "infra-alerts-informational"
continue = true
matchers = [
@ -139,8 +139,8 @@ notification_policies = [
value = "infra"
}
]
},
{
},
{
contact_point = "infra-alerts-test"
continue = true
matchers = [
@ -150,5 +150,5 @@ notification_policies = [
value = "test"
}
]
}
}
]

View File

@ -5,9 +5,9 @@ locals {
"X-Disable-Provenance" = var.disable_provenance ? "true" : "false"
}
# Contact points configuration
contact_points = [
{
# Contact points configuration
contact_points = [
{
name = "default"
type = "slack"
is_default = true
@ -15,9 +15,9 @@ contact_points = [
webhook_url = data.vault_kv_secret_v2.secret_ext.data["mmwebhook_default"]
template = "../../../modules/grafana_contact_points/template/alerts_message_mm.template"
}
},
},
{
{
name = "infra-alerts-critical"
type = "slack"
is_default = false
@ -25,9 +25,9 @@ contact_points = [
webhook_url = data.vault_kv_secret_v2.secret_ext.data["mmwebhook_infra_alerts_critical"]
template = "../../../modules/grafana_contact_points/template/alerts_message_mm.template"
}
},
},
{
{
name = "infra-alerts-informational"
type = "slack"
is_default = false
@ -35,9 +35,9 @@ contact_points = [
webhook_url = data.vault_kv_secret_v2.secret_ext.data["mmwebhook_infra_alerts_info"]
template = "../../../modules/grafana_contact_points/template/alerts_message_mm.template"
}
},
},
{
{
name = "infra-alerts-test"
type = "slack"
is_default = false
@ -45,6 +45,6 @@ contact_points = [
webhook_url = data.vault_kv_secret_v2.secret_ext.data["mmwebhook_infra_alerts_test"]
template = "../../../modules/grafana_contact_points/template/alerts_message_mm.template"
}
}
]
}
]
}

View File

@ -76,7 +76,7 @@ datasources = [
# Notification policies configuration
notification_policies = [
{
{
contact_point = "infra-alerts-critical"
continue = true
matchers = [
@ -91,8 +91,8 @@ notification_policies = [
value = "infra"
}
]
},
{
},
{
contact_point = "infra-alerts-critical"
continue = true
matchers = [
@ -107,8 +107,8 @@ notification_policies = [
value = "infra"
}
]
},
{
},
{
contact_point = "infra-alerts-informational"
continue = true
matchers = [
@ -123,8 +123,8 @@ notification_policies = [
value = "infra"
}
]
},
{
},
{
contact_point = "infra-alerts-informational"
continue = true
matchers = [
@ -139,8 +139,8 @@ notification_policies = [
value = "infra"
}
]
},
{
},
{
contact_point = "infra-alerts-test"
continue = true
matchers = [
@ -150,5 +150,5 @@ notification_policies = [
value = "test"
}
]
}
}
]