From c8106f565227e5bce9a8a1ef8fcac72ef813a88e Mon Sep 17 00:00:00 2001 From: saquino0827 Date: Mon, 21 Oct 2024 12:22:40 -0500 Subject: [PATCH] Make the resource group to the scope of this alert --- operations/template/alert.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/operations/template/alert.tf b/operations/template/alert.tf index a0854617c6..525ff70407 100644 --- a/operations/template/alert.tf +++ b/operations/template/alert.tf @@ -33,7 +33,7 @@ resource "azurerm_monitor_activity_log_alert" "azure_service_health_alert" { name = "cdcti-${var.environment}-azure-status-alert" location = var.service_health_locations resource_group_name = data.azurerm_resource_group.group.name - scopes = [azurerm_container_registry.registry.id] + scopes = [data.azurerm_resource_group.group.id] criteria { category = "ServiceHealth"