Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Necessary IAM policy to allow creation of lambda function
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"iam:CreatePolicy",
"iam:CreateRole",
"iam:AttachRolePolicy"
],
"Resource": [
"arn:aws:iam::ACCOUNT_ID:policy/*",
"arn:aws:iam::ACCOUNT_ID:role/*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment