From dc65d232c97c7843650ac09fe1efab2b2396e5f3 Mon Sep 17 00:00:00 2001 From: Buckingham Date: Thu, 5 Dec 2024 10:44:24 +0000 Subject: [PATCH] Update_051224_1 --- terraform/environments/ppud/iam.tf | 3 +-- terraform/environments/ppud/sns.tf | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/terraform/environments/ppud/iam.tf b/terraform/environments/ppud/iam.tf index ff2e4ad2f23..8f1aabea66f 100644 --- a/terraform/environments/ppud/iam.tf +++ b/terraform/environments/ppud/iam.tf @@ -859,7 +859,7 @@ resource "aws_iam_role_policy_attachment" "attach_lambda_policy_certificate_expi ## Production -/* + data "aws_iam_policy_document" "sns_topic_policy_ec2cw" { count = local.is-production == true ? 1 : 0 policy_id = "SnsTopicId" @@ -896,7 +896,6 @@ data "aws_iam_policy_document" "sns_topic_policy_ec2cw" { ] } } -*/ #################################################### # IAM User, Policy for MGN diff --git a/terraform/environments/ppud/sns.tf b/terraform/environments/ppud/sns.tf index f7025b4817a..8e6f6133e7d 100644 --- a/terraform/environments/ppud/sns.tf +++ b/terraform/environments/ppud/sns.tf @@ -65,6 +65,7 @@ resource "aws_sns_topic_subscription" "cw_sms_subscription4" { } */ +/* resource "aws_sns_topic_policy" "sns_topic_policy_ec2cw" { count = local.is-production == true ? 1 : 0 arn = aws_sns_topic.cw_alerts[0].arn @@ -98,6 +99,7 @@ resource "aws_sns_topic_policy" "sns_topic_policy_ec2cw" { ] }) } +*/ # PreProduction - Cloud Watch