From 866b5c519ea9a87c7f058ff794542fe1c2e7eda1 Mon Sep 17 00:00:00 2001 From: jamesthompson26-nhs Date: Wed, 9 Apr 2025 15:01:12 +0100 Subject: [PATCH 1/2] CCM-8589: Event Publisher DLQ Alerting --- .../modules/eventpub/cloudwatch_metric_alarm_dlq_alarm.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/infrastructure/modules/eventpub/cloudwatch_metric_alarm_dlq_alarm.tf b/infrastructure/modules/eventpub/cloudwatch_metric_alarm_dlq_alarm.tf index 4ba62ee..78bfe47 100644 --- a/infrastructure/modules/eventpub/cloudwatch_metric_alarm_dlq_alarm.tf +++ b/infrastructure/modules/eventpub/cloudwatch_metric_alarm_dlq_alarm.tf @@ -9,6 +9,7 @@ resource "aws_cloudwatch_metric_alarm" "dlq_alarm" { statistic = "Sum" threshold = 0 actions_enabled = true + treat_missing_data = "notBreaching" dimensions = { QueueName = aws_sqs_queue.dlq.name From 3a77fcd56b88c923987a5b125661f58ea33971dd Mon Sep 17 00:00:00 2001 From: jamesthompson26-nhs Date: Wed, 9 Apr 2025 15:01:35 +0100 Subject: [PATCH 2/2] CCM-8589: Event Publisher DLQ Alerting --- .../modules/eventpub/cloudwatch_metric_alarm_dlq_alarm.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/modules/eventpub/cloudwatch_metric_alarm_dlq_alarm.tf b/infrastructure/modules/eventpub/cloudwatch_metric_alarm_dlq_alarm.tf index 78bfe47..ca4e814 100644 --- a/infrastructure/modules/eventpub/cloudwatch_metric_alarm_dlq_alarm.tf +++ b/infrastructure/modules/eventpub/cloudwatch_metric_alarm_dlq_alarm.tf @@ -9,7 +9,7 @@ resource "aws_cloudwatch_metric_alarm" "dlq_alarm" { statistic = "Sum" threshold = 0 actions_enabled = true - treat_missing_data = "notBreaching" + treat_missing_data = "notBreaching" dimensions = { QueueName = aws_sqs_queue.dlq.name