Skip to content

Commit 56ddfef

Browse files
author
Tom McCarthy
authored
chore: add proper permissions to pull official powertools layer (aws-samples#42)
1 parent 87ce7dc commit 56ddfef

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

amplify-ci/amplify-template.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ Resources:
6363
Resource:
6464
- !Sub "arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:*"
6565
- !Sub "arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:layer:*"
66+
-
67+
Effect: Allow
68+
Action:
69+
- lambda:GetLayerVersion
70+
Resource:
71+
- !Sub "arn:aws:lambda:${AWS::Region}:017000801446:layer:AWSLambdaPowertoolsPython*"
6672
-
6773
Effect: Allow
6874
Action:

0 commit comments

Comments
 (0)