Skip to content

Instantly share code, notes, and snippets.

@efueyo
Last active June 28, 2017 16:30
Show Gist options
  • Select an option

  • Save efueyo/a8f68ab101579c8912ddcac8954d6ccc to your computer and use it in GitHub Desktop.

Select an option

Save efueyo/a8f68ab101579c8912ddcac8954d6ccc to your computer and use it in GitHub Desktop.
Lambda IAM Role
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:PutLogEvents"
],
"Resource": "*"
},
{
"Action": "ec2:*",
"Effect": "Allow",
"Resource": "*"
},
{
"Effect": "Allow",
"Action": "iam:PassRole",
"Resource": "*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment