Skip to content

Instantly share code, notes, and snippets.

@caldempsey
Last active April 29, 2019 09:22
Show Gist options
  • Save caldempsey/08f716d4dccce6e1186d7016ded2ea4e to your computer and use it in GitHub Desktop.
Save caldempsey/08f716d4dccce6e1186d7016ded2ea4e to your computer and use it in GitHub Desktop.
The bare minimum IAM role-set to perform CRUD operations on Serverless Framework Lambda functions for AWS. Assign me to your responsible groups!
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"apigateway:GetResources",
"iam:DeleteRolePolicy",
"apigateway:DELETE",
"apigateway:GetResource",
"iam:PutRolePolicy",
"iam:CreateRole",
"iam:GetRole",
"iam:DeleteRole",
"apigateway:POST",
"cloudformation:UpdateStack",
"cloudformation:DescribeChangeSet",
"cloudformation:CreateStack",
"cloudformation:DescribeStackResources",
"cloudformation:DeleteStack",
"cloudformation:DescribeStackResource",
"cloudformation:ValidateTemplate",
"cloudformation:DescribeStackEvents",
"cloudformation:DescribeStacks",
"cloudformation:GetTemplate",
"cloudformation:ListStackResources",
"lambda:*",
"logs:*",
"s3:*"
],
"Resource": "*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment