Skip to content

Instantly share code, notes, and snippets.

@guitarrapc
Created December 25, 2016 17:45
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 guitarrapc/85b94f4fbbb322ea03027ffd3c0925c5 to your computer and use it in GitHub Desktop.
Save guitarrapc/85b94f4fbbb322ea03027ffd3c0925c5 to your computer and use it in GitHub Desktop.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "CreateFunctionPermissions",
"Effect": "Allow",
"Action": [
"lambda:CreateFunction"
],
"Resource": "*"
},
{
"Sid": "ReadFuctions",
"Effect": "Allow",
"Action": [
"lambda:Get*"
],
"Resource": "*"
},
{
"Sid": "UpdateFuctions",
"Effect": "Allow",
"Action": [
"lambda:Update*"
],
"Resource": "*"
},
{
"Sid": "PermissionToPassAnyRole",
"Effect": "Allow",
"Action": [
"iam:PassRole"
],
"Resource": "arn:aws:iam::ACCOUNT_ID:role/*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment