Skip to content

Commit 5a28c09

Browse files
committed
Add lambda:UpdateFunctionCode to service role
When upgrading a stack, and the version of the autoscaler lambda changes, this permission is needed.
1 parent 577fbb6 commit 5a28c09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templates/service-role.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ Resources:
182182
"lambda:DeleteFunction",
183183
"lambda:InvokeFunction",
184184
"lambda:TagResource",
185-
"lambda:UpdateFunctionConfiguration"
185+
"lambda:UpdateFunctionConfiguration",
186+
"lambda:UpdateFunctionCode"
186187
],
187188
"Resource": "arn:aws:lambda:*:*:function:*"
188189
},

0 commit comments

Comments
 (0)