Skip to content

Commit

Permalink
Added iam:PassRole permissions to LambdaExecution
Browse files Browse the repository at this point in the history
Fixes #103
  • Loading branch information
mhart committed Jun 9, 2018
1 parent ac705ca commit ba6927e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions lambci.template
Expand Up @@ -5,7 +5,7 @@
"Version": {
"Description": "LambCI version",
"Type": "String",
"Default": "0.9.13"
"Default": "0.9.14"
},
"GithubToken": {
"Description": "GitHub OAuth token",
Expand Down Expand Up @@ -196,8 +196,14 @@
"PolicyDocument": {
"Statement": {
"Effect": "Allow",
"Action": "sns:SetTopicAttributes",
"Resource": {"Fn::Join": ["", ["arn:aws:sns:*:*:", {"Ref": "AWS::StackName"}, "-*"]]}
"Action": [
"sns:SetTopicAttributes",
"iam:PassRole"
],
"Resource": [
{"Fn::Join": ["", ["arn:aws:sns:*:*:", {"Ref": "AWS::StackName"}, "-*"]]},
{"Fn::Join": ["", ["arn:aws:iam::*:role/", {"Ref": "AWS::StackName"}, "-SnsFailures-*"]]}
]
}
}
}]
Expand Down

0 comments on commit ba6927e

Please sign in to comment.