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