diff --git a/terraform/sns-topic.tf b/terraform/sns-topic.tf index 60566f9..fbf11ab 100644 --- a/terraform/sns-topic.tf +++ b/terraform/sns-topic.tf @@ -98,3 +98,65 @@ data "aws_sns_topic" "alarm_notifications" { name = "${var.environment}-alarm-notifications-sns-topic" } +resource "aws_sns_topic_policy" "deny_http" { + for_each = toset(local.sns_arns) + + arn = each.value + + policy = <