Skip to content

Commit

Permalink
Merge pull request #8973 from ministryofjustice/Update_051224_1
Browse files Browse the repository at this point in the history
Update_051224_1
  • Loading branch information
nbuckingham72 authored Dec 5, 2024
2 parents 5da34d2 + dc65d23 commit 51fcc0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions terraform/environments/ppud/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -896,7 +896,6 @@ data "aws_iam_policy_document" "sns_topic_policy_ec2cw" {
]
}
}
*/

####################################################
# IAM User, Policy for MGN
Expand Down
2 changes: 2 additions & 0 deletions terraform/environments/ppud/sns.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -98,6 +99,7 @@ resource "aws_sns_topic_policy" "sns_topic_policy_ec2cw" {
]
})
}
*/

# PreProduction - Cloud Watch

Expand Down

0 comments on commit 51fcc0d

Please sign in to comment.