Apply terraform fmt for CI
This commit is contained in:
@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user