From a309e1c7184bc1ac5023608f72ef76da4323f1ce Mon Sep 17 00:00:00 2001 From: James Herr Date: Tue, 5 Nov 2024 10:54:46 -0600 Subject: [PATCH] Randomly added capitals to the namespace Co-Authored-By: Sylvie <38440028+somesylvie@users.noreply.github.com> Co-Authored-By: Samuel Aquino Co-Authored-By: Bella L. Quintero <96704946+pluckyswan@users.noreply.github.com> Co-Authored-By: jcrichlake <145698165+jcrichlake@users.noreply.github.com> --- 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 83e5f7452..6b01a3009 100644 --- a/operations/template/alert.tf +++ b/operations/template/alert.tf @@ -270,7 +270,7 @@ resource "azurerm_monitor_metric_alert" "database_memory_alert" { criteria { metric_name = "memory_percent" - metric_namespace = "microsoft.dbforpostresql/flexibleservers" + metric_namespace = "Microsoft.DBforPostgreSQL/flexibleServers" aggregation = "Average" operator = "GreaterThan" threshold = local.higher_environment_level ? 50 : 80