Skip to content
Snippets Groups Projects
Commit dad7742b authored by Edouard DE BRYE's avatar Edouard DE BRYE
Browse files

Removed ok_action from cloudwatch metric alarms

parent a607e421
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,6 @@ resource "aws_cloudwatch_metric_alarm" "lambda_throttles_alarm" { ...@@ -14,7 +14,6 @@ resource "aws_cloudwatch_metric_alarm" "lambda_throttles_alarm" {
namespace = "AWS/Lambda" namespace = "AWS/Lambda"
statistic = "Sum" statistic = "Sum"
alarm_actions = [data.aws_sns_topic.cloudmon.arn] alarm_actions = [data.aws_sns_topic.cloudmon.arn]
ok_actions = [data.aws_sns_topic.cloudmon.arn]
metric_name = "Throttles" metric_name = "Throttles"
dimensions = { dimensions = {
...@@ -36,7 +35,6 @@ resource "aws_cloudwatch_metric_alarm" "lambda_error_alarm" { ...@@ -36,7 +35,6 @@ resource "aws_cloudwatch_metric_alarm" "lambda_error_alarm" {
namespace = "AWS/Lambda" namespace = "AWS/Lambda"
statistic = "Sum" statistic = "Sum"
alarm_actions = [data.aws_sns_topic.cloudmon.arn] alarm_actions = [data.aws_sns_topic.cloudmon.arn]
ok_actions = [data.aws_sns_topic.cloudmon.arn]
metric_name = "Errors" metric_name = "Errors"
dimensions = { dimensions = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment