We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7a73cf commit 0aa0a28Copy full SHA for 0aa0a28
1 file changed
template.yml
@@ -101,7 +101,16 @@ Resources:
101
Resource:
102
- 'arn:aws:dynamodb:*:*:table/scorekeep-*'
103
- 'arn:aws:sns:*:*:scorekeep-*'
104
- - 'arn:aws:lambda:*:*:function/random-name'
+ - PolicyName: invoke
105
+ PolicyDocument:
106
+ Version: 2012-10-17
107
+ Statement:
108
+ - Sid: InvokeFunction
109
+ Action:
110
+ - 'lambda:InvokeFunction'
111
+ Effect: Allow
112
+ Resource:
113
+ - !GetAtt function.Arn
114
- PolicyName: beanstalk
115
PolicyDocument:
116
Version: 2012-10-17
0 commit comments