Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save thapakazi/7fc4dfd9c373ce4e2c2936a6c8db0e8a to your computer and use it in GitHub Desktop.
Save thapakazi/7fc4dfd9c373ce4e2c2936a6c8db0e8a to your computer and use it in GitHub Desktop.
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