Skip to content

Instantly share code, notes, and snippets.

@jinseokoh
Created February 28, 2017 05:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jinseokoh/3875057e2fb9c5a1855e715cd21aa358 to your computer and use it in GitHub Desktop.
Save jinseokoh/3875057e2fb9c5a1855e715cd21aa358 to your computer and use it in GitHub Desktop.
required Serverless permissions
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"cloudformation:*"
],
"Resource": "*"
}, {
"Effect": "Allow",
"Action": [
"lambda:*"
],
"Resource": "arn:aws:lambda:*:*:function:*"
}, {
"Effect": "Allow",
"Action": [
"s3:*"
],
"Resource": "arn:aws:s3:::*"
}, {
"Effect": "Allow",
"Action": [
"dynamodb:*"
],
"Resource": "arn:aws:dynamodb:::*"
}, {
"Effect": "Allow",
"Action": [
"iam:*"
],
"Resource": "*"
}, {
"Effect": "Allow",
"Action": [
"apigateway:*"
],
"Resource": "*"
}, {
"Effect": "Allow",
"Action": [
"execute-api:*"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"sqs:*"
],
"Resource": "arn:aws:sqs:*:*:${project}*"
},
{
"Effect": "Allow",
"Action": [
"events:Put*",
"events:Remove*",
"events:Delete*"
],
"Resource": "arn:aws:events:*:*:rule/${project}*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment