Skip to content

Commit

Permalink
Correcting resource name in deny policy
Browse files Browse the repository at this point in the history
  • Loading branch information
nsindhu26 committed Sep 27, 2024
1 parent 55f2c38 commit 649a173
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions infrastructure/stacks/application/data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ data "aws_iam_policy_document" "sns_topic_app_alerts_for_slack_access_default_re
}

statement {
sid = "DenyNonSecureTransport"
effect = "Deny"
actions = ["sns:Publish"]
principals {
Expand Down Expand Up @@ -80,6 +81,7 @@ data "aws_iam_policy_document" "sns_topic_app_alerts_for_slack_access_alarm_regi
}

statement {
sid = "DenyNonSecureTransport"
effect = "Deny"
actions = ["sns:Publish"]
principals {
Expand Down
2 changes: 2 additions & 0 deletions infrastructure/stacks/shared-resources/data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ data "aws_iam_policy_document" "shared_resources_sns_topic_app_alerts_for_slack_
}

statement {
sid = "DenyNonSecureTransport"
effect = "Deny"
actions = ["sns:Publish"]
principals {
Expand Down Expand Up @@ -97,6 +98,7 @@ data "aws_iam_policy_document" "shared_resources_sns_topic_app_alerts_for_slack_
}

statement {
sid = "DenyNonSecureTransport"
effect = "Deny"
actions = ["sns:Publish"]
principals {
Expand Down

0 comments on commit 649a173

Please sign in to comment.