Skip to content

Commit

Permalink
Updated the permission resources in the readme for DescribeLogGroups (#…
Browse files Browse the repository at this point in the history
…83)

Permissions for listing the existing log groups need to be able to list all the log groups on the account, to allow it to filter the groups based on the log group name.
  • Loading branch information
uduncanu committed Mar 2, 2020
1 parent 7f82214 commit 002a9f3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,15 @@ When setting the `$createGroup` argument to `false`, permissions `DescribeLogGro
"Statement": [
{
"Effect": "Allow",
"Action": "logs:CreateLogGroup",
"Action": [
"logs:CreateLogGroup",
"logs:DescribeLogGroups"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"logs:DescribeLogGroups",
"logs:CreateLogStream",
"logs:DescribeLogStreams",
"logs:PutRetentionPolicy"
Expand Down

0 comments on commit 002a9f3

Please sign in to comment.