-
-
Save monkseal/5461b6ae252487e5af0a1d4210ea8fc7 to your computer and use it in GitHub Desktop.
Serverless IAM Requirements
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"apigateway:DELETE", | |
"apigateway:GET", | |
"apigateway:GetResources", | |
"apigateway:POST", | |
"apigateway:PUT", | |
"cloudformation:CreateChangeSet", | |
"cloudformation:CreateStack", | |
"cloudformation:DeleteStack", | |
"cloudformation:DescribeStackEvents", | |
"cloudformation:DescribeStackResource", | |
"cloudformation:DescribeStackResources", | |
"cloudformation:DescribeStacks", | |
"cloudformation:GetTemplate", | |
"cloudformation:UpdateStack", | |
"cloudformation:ValidateTemplate", | |
"iam:CreatePolicy", | |
"iam:CreateRole", | |
"iam:GetRole", | |
"iam:PassRole", | |
"iam:PutRolePolicy", | |
"lambda:AddPermission", | |
"lambda:CreateFunction", | |
"lambda:GetFunction", | |
"lambda:GetFunctionConfiguration", | |
"lambda:ListVersionsByFunction", | |
"lambda:PublishVersion", | |
"lambda:UpdateFunctionCode", | |
"lambda:UpdateFunctionConfig", | |
"logs:CreateLogGroup", | |
"logs:CreateLogStream", | |
"logs:DescribeLogGroups", | |
"logs:PutLogEvents", | |
"s3:CreateBucket", | |
"s3:DeleteObject", | |
"s3:GetObject", | |
"s3:ListBucket", | |
"s3:PutObject", | |
"sqs:*" | |
], | |
"Resource": "*" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment