Skip to content

Commit 0e827c0

Browse files
- removed unnecessary permission for KMS
1 parent 6e1ac1f commit 0e827c0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

serverless.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ functions:
5050
- Effect: Allow
5151
Action: ssm:GetParameters*
5252
Resource: arn:aws:ssm:#{AWS::Region}:#{AWS::AccountId}:parameter/bigmouth/${self:custom.stage}/*
53-
- Effect: Allow
54-
Action: kms:Decrypt
55-
Resource: arn:aws:kms:#{AWS::Region}:#{AWS::AccountId}:key/alias/aws/ssm2
5653

5754
get-restaurants:
5855
handler: functions/get-restaurants.handler

0 commit comments

Comments
 (0)