Skip to content

Instantly share code, notes, and snippets.

@siddolo
Created June 8, 2022 14:21
Show Gist options
  • Save siddolo/f022901091b619ff6f56e8883c891bd4 to your computer and use it in GitHub Desktop.
Save siddolo/f022901091b619ff6f56e8883c891bd4 to your computer and use it in GitHub Desktop.
Minimum permission policy for a Beanstalk IAM Role
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"logs:DescribeLogGroups"
],
"Resource": "*"
},
{
"Sid": "AllowCloudWatchLogPush",
"Effect": "Allow",
"Action": [
"logs:PutLogEvents",
"logs:DescribeLogGroups",
"logs:CreateLogStream",
"logs:CreateLogGroup"
],
"Resource": "arn:aws:logs:*:*:log-group:/aws/elasticbeanstalk*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment