Skip to content

Commit

Permalink
Merge pull request #70 from moj-analytical-services/williamorrie-patch-1
Browse files Browse the repository at this point in the history
Update templates.py
  • Loading branch information
moj-supratikc authored Dec 11, 2024
2 parents 7ff06a1 + cd01c67 commit 243ca5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions iam_builder/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@
"Sid": "CanGetCloudWatchAthenaLogs",
"Effect": "Allow",
"Action": [
"log:GetLogEvents",
"log:GetLogRecord"
"logs:GetLogEvents",
"logs:GetLogRecord"
],
"Resource": [
"arn:aws:logs:eu-west-2:593291632749:log-group:cloudtrail-athena-events:*"
Expand Down
4 changes: 2 additions & 2 deletions tests/expected_policy/cloudwatch_athena_query_executions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"Sid": "CanGetCloudWatchAthenaLogs",
"Effect": "Allow",
"Action": [
"log:GetLogEvents",
"log:GetLogRecord"
"logs:GetLogEvents",
"logs:GetLogRecord"
],
"Resource": ["arn:aws:logs:eu-west-2:593291632749:log-group:cloudtrail-athena-events:*"]
}
Expand Down

0 comments on commit 243ca5e

Please sign in to comment.