File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,6 @@ resource "aws_cloudwatch_metric_alarm" "lambda_errors" {
108108 alarm_name = " ${ var . name } - High Error Rate"
109109 comparison_operator = " GreaterThanOrEqualToThreshold"
110110 evaluation_periods = " 2"
111- ok_actions = [var . notifications_topic_arn ]
112111 threshold = var. error_rate_alarm_threshold
113112 treat_missing_data = " notBreaching"
114113
@@ -125,7 +124,7 @@ resource "aws_cloudwatch_metric_alarm" "lambda_errors" {
125124 metric {
126125 metric_name = " Errors"
127126 namespace = " AWS/Lambda"
128- period = " 60 "
127+ period = " 600 "
129128 stat = " Sum"
130129 unit = " Count"
131130
@@ -141,7 +140,7 @@ resource "aws_cloudwatch_metric_alarm" "lambda_errors" {
141140 metric {
142141 metric_name = " Invocations"
143142 namespace = " AWS/Lambda"
144- period = " 60 "
143+ period = " 600 "
145144 stat = " Sum"
146145 unit = " Count"
147146
You can’t perform that action at this time.
0 commit comments