Skip to content

Commit

Permalink
Fixing scope
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrichlake committed Nov 6, 2024
1 parent 7cc6f0b commit 7abf415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operations/template/alert.tf
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ resource "azurerm_monitor_metric_alert" "api-response-time-alert" {
count = local.non_pr_environment ? 1 : 0
name = "cdcti-${var.environment}-api-response-time-alert"
resource_group_name = data.azurerm_resource_group.group.name
scopes = [azurerm_service_plan.plan.id]
scopes = [azurerm_linux_web_app.api.id]
description = "Alerts when the average API response time across the service plan is high"
severity = 2
frequency = "PT1M"
Expand Down

0 comments on commit 7abf415

Please sign in to comment.