diff --git a/terraform/alarms.tf b/terraform/alarms.tf index 12a34b0f..f560ad7b 100644 --- a/terraform/alarms.tf +++ b/terraform/alarms.tf @@ -78,10 +78,10 @@ resource "aws_cloudwatch_metric_alarm" "sre_bot_scheduled_tasks" { metric_name = aws_cloudwatch_log_metric_filter.sre_bot_scheduled_tasks.metric_transformation[0].name namespace = aws_cloudwatch_log_metric_filter.sre_bot_scheduled_tasks.metric_transformation[0].namespace period = "300" - evaluation_periods = "1" + evaluation_periods = "2" statistic = "Sum" threshold = "1" - treat_missing_data = "notBreaching" + treat_missing_data = "breaching" alarm_actions = [aws_sns_topic.cloudwatch_warning.arn] ok_actions = [aws_sns_topic.cloudwatch_warning.arn]