Skip to content

Commit cee3d95

Browse files
committed
Update alert
1 parent abf717d commit cee3d95

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

code/infra/alerts.tf

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,11 @@ resource "azurerm_monitor_activity_log_alert" "monitor_activity_log_alert_servic
1111
action {
1212
action_group_id = azurerm_monitor_action_group.monitor_action_group.id
1313
webhook_properties = {
14-
"alert_custom_type" = "service-health",
15-
"alert_custom_location" = var.location
16-
"alert_custom_env" = var.environment
17-
"alert_custom_sub" = data.azurerm_client_config.current.subscription_id
18-
"alert_custom_resource_group" = azurerm_resource_group.extension_rg.name
19-
"alert_custom_instance" = var.prefix
20-
"alert_custom_layer" = "core"
21-
"alert_custom_layer_name" = "core"
22-
"alert_custom_snowseverity" = "Info"
23-
"alert_custom_snowfgroup" = "A.TEC.GLOB.ADP.DL.3RD"
24-
"alert_custom_snowincidentlevel" = "P3"
14+
"alert-type" = "service-health",
15+
"location" = var.location
16+
"environment" = var.environment
17+
"subscription" = data.azurerm_client_config.current.subscription_id
18+
"severity" = "Info"
2519
}
2620
}
2721
criteria {

0 commit comments

Comments
 (0)