Skip to content

Instantly share code, notes, and snippets.

@eMahtab
Created October 14, 2017 07:20
Show Gist options
  • Save eMahtab/b8742663c61884b6c9d4cda1dc675fd3 to your computer and use it in GitHub Desktop.
Save eMahtab/b8742663c61884b6c9d4cda1dc675fd3 to your computer and use it in GitHub Desktop.
Role for lambda execution
Policy document for basic lambda execution. Create a role and attach this policy, then assign that role to the lambda.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:PutLogEvents"
],
"Resource": [
"arn:aws:logs:*:*:*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment