File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818
1919targetScope = 'subscription'
2020
21- // param devopsInfrastructureId string
2221param devopsSubnetAddressPrefix string
2322param privateEndpointSubnetAddressPrefix string
2423param hubType string // live / nonlive
Original file line number Diff line number Diff line change 1- resource "azurerm_monitor_scheduled_query_rules_alert_v2" "500_error_alert " {
1+ resource "azurerm_monitor_scheduled_query_rules_alert_v2" "five_hundred_error_alert " {
22 count = var. enable_alerting ? 1 : 0
33
44 auto_mitigation_enabled = false
@@ -8,7 +8,7 @@ resource "azurerm_monitor_scheduled_query_rules_alert_v2" "500_error_alert" {
88 location = var. region
99 name = " ${ var . app_short_name } -500-error-alert"
1010 resource_group_name = azurerm_resource_group. main . name
11- scopes = [var . log_analytics_workspace_id ]
11+ scopes = [var . action_group_id ]
1212 severity = 2
1313 skip_query_validation = false
1414 window_duration = " PT5M"
You can’t perform that action at this time.
0 commit comments