Skip to content

Commit 3d48a5d

Browse files
VIA-756 AS/AJ/DB Add permissions for SNS
1 parent bde0ab4 commit 3d48a5d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

infrastructure/modules/deploy_iam/policies/permissions/iam.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@
4141
"arn:aws:iam::${account_id}:role/${prefix}-revalidation-function-role",
4242
"arn:aws:iam::${account_id}:role/${prefix}-server-function-role",
4343
"arn:aws:iam::${account_id}:role/${prefix}-chatbot-iam-role",
44-
"arn:aws:iam::${account_id}:role/${prefix}-alarms-forwarder-subscription-filter-role"
44+
"arn:aws:iam::${account_id}:role/${prefix}-alarms-forwarder-subscription-filter-role",
45+
"arn:aws:iam::${account_id}:role/${prefix}-firehose-transformer",
46+
"arn:aws:iam::${account_id}:role/${prefix}-log-forwarder-subscription-filter-role"
4547
]
4648
}
4749
]

infrastructure/modules/deploy_iam/policies/permissions/misc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@
152152
"SNS:SetTopicAttributes",
153153
"SNS:TagResource",
154154
"SNS:Subscribe",
155-
"SNS:GetSubscriptionAttributes"
155+
"SNS:GetSubscriptionAttributes",
156+
"SNS:Unsubscribe"
156157
],
157158
"Resource": [
158159
"arn:aws:sns:${region}:${account_id}:${prefix}-*",

0 commit comments

Comments
 (0)