Skip to content
This repository has been archived by the owner on Feb 7, 2025. It is now read-only.

Commit

Permalink
change scope to limit it to the TI application only
Browse files Browse the repository at this point in the history
  • Loading branch information
saquino0827 committed Oct 23, 2024
1 parent f31312e commit 13175bb
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 @@ -126,7 +126,7 @@ resource "azurerm_monitor_metric_alert" "azure_4XX_alert" {
count = local.non_pr_environment ? 1 : 0
name = "cdcti-${var.environment}-azure-http-4XX-alert"
resource_group_name = data.azurerm_resource_group.group.name
scopes = [data.azurerm_resource_group.group.id]
scopes = [azurerm_linux_web_app.api.id]
description = "Action will be triggered when Http Status Code 4XX is greater than or equal to 3"
frequency = "PT1M" // Checks every 1 minute
window_size = "PT1H" // Every Check looks back 1 hour for 4xx errors
Expand Down

0 comments on commit 13175bb

Please sign in to comment.