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

View File

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

View File

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

View File

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