From dad7742b133690a6dc0ab8052056f0bcea8c076e Mon Sep 17 00:00:00 2001
From: edebrye <edebrye@ippon.fr>
Date: Mon, 15 Mar 2021 16:51:18 +0100
Subject: [PATCH] Removed ok_action from cloudwatch metric alarms

---
 deploy/cloudwatch_alarms.tf | 2 --
 1 file changed, 2 deletions(-)

diff --git a/deploy/cloudwatch_alarms.tf b/deploy/cloudwatch_alarms.tf
index 31f47ae..dd7d223 100644
--- a/deploy/cloudwatch_alarms.tf
+++ b/deploy/cloudwatch_alarms.tf
@@ -14,7 +14,6 @@ resource "aws_cloudwatch_metric_alarm" "lambda_throttles_alarm" {
   namespace           = "AWS/Lambda"
   statistic           = "Sum"
   alarm_actions       = [data.aws_sns_topic.cloudmon.arn]
-  ok_actions          = [data.aws_sns_topic.cloudmon.arn]
   metric_name         = "Throttles"
 
   dimensions = {
@@ -36,7 +35,6 @@ resource "aws_cloudwatch_metric_alarm" "lambda_error_alarm" {
   namespace           = "AWS/Lambda"
   statistic           = "Sum"
   alarm_actions       = [data.aws_sns_topic.cloudmon.arn]
-  ok_actions          = [data.aws_sns_topic.cloudmon.arn]
   metric_name         = "Errors"
 
   dimensions = {
-- 
GitLab