When create a alert rule for prometheus with severity = 0
for CRITICAL
, it skips severity.
#25399
Closed
1 task done
Labels
Milestone
Is there an existing issue for this?
Community Note
Terraform Version
1.2.6
AzureRM Provider Version
~> 3.86
Affected Resource(s)/Data Source(s)
azurerm_monitor_alert_prometheus_rule_group
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
To create the alertmanager rule with
severity = 0
, forCRITICAL
alerts.Actual Behaviour
It skips the
severity
and the portal falls back to the default valueseverity = 3
forINFORMATIONAL
Steps to Reproduce
try to create aks cluster and configure a AMW-prometheus instance with it.
Then try to create new
azurerm_monitor_alert_prometheus_rule_group
withseverity = 0
.. check the created resource in the portal and verify the severity of the created resource.Important Factoids
No response
References
The code has the issue here:
https://github.com/hashicorp/terraform-provider-azurerm/blob/main/internal/services/monitor/monitor_alert_prometheus_rule_group_resource.go#L438
The text was updated successfully, but these errors were encountered: