From cbe0a53448100ceb88a1b19a6b3ff5e8f5800df6 Mon Sep 17 00:00:00 2001 From: Nathaniel Date: Mon, 20 Jul 2020 22:47:55 -0400 Subject: [PATCH] correct sns policy --- infra/sns.tf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/infra/sns.tf b/infra/sns.tf index 9720e20..df9edad 100644 --- a/infra/sns.tf +++ b/infra/sns.tf @@ -16,8 +16,7 @@ resource "aws_iam_policy" "upload-write" { "sns:Publish" ], "Effect": "Allow", - "Resource": "${aws_sns_topic.upload.arn}", - "Principal": "*" + "Resource": "${aws_sns_topic.upload.arn}" } ] }