Skip to content

Commit

Permalink
chore: Updated description message (#390)
Browse files Browse the repository at this point in the history
updated description message
  • Loading branch information
mamari90 authored Dec 17, 2024
1 parent ff49c94 commit 098d91c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monitoring_function/01_main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ resource "azurerm_monitor_metric_alert" "alert" {
name = "availability-${each.value.appName}-${each.value.apiName}-${each.value.type}"
resource_group_name = var.resource_group_name
scopes = [data.azurerm_application_insights.app_insight.id]
description = "Monitors the availability of ${each.value.appName} ${each.value.apiName} from ${each.value.type}"
description = "Availability of ${each.value.appName} ${each.value.apiName} from ${each.value.type} degraded"
severity = lookup(lookup(each.value, "alertConfiguration", local.default_alert_configuration), "severity", local.default_alert_configuration.severity)
frequency = lookup(lookup(each.value, "alertConfiguration", local.default_alert_configuration), "frequency", local.default_alert_configuration.frequency)
auto_mitigate = lookup(lookup(each.value, "alertConfiguration", local.default_alert_configuration), "auto_mitigate", local.default_alert_configuration.auto_mitigate)
Expand Down

0 comments on commit 098d91c

Please sign in to comment.