Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2c8d5bf

Browse files
committed
Add lambda:InvokeFunction perm
1 parent 0e2b291 commit 2c8d5bf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎serverless.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ provider:
2424
- dynamodb:UpdateItem
2525
Resource:
2626
- "Fn::Join": ["", ["arn:aws:dynamodb:", {"Ref": "AWS::Region"}, ":", {"Ref": "AWS::AccountId"}, ":table/items*"]]
27+
- Effect: Allow
28+
Action:
29+
- lambda:InvokeFunction
30+
Resource:
31+
- "Fn::Join": ["", ["arn:aws:lambda:", {"Ref": "AWS::Region"}, ":", {"Ref": "AWS::AccountId"}, ":function:${self:provider.name}-${self:provider.stage}-authorizer"]]
2732

2833
package:
2934
individually: true

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /