Skip to content

Commit

Permalink
Remove dynamodb:ListSchemas as its no longer valid (awslabs#2252)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdulR3hman authored Sep 11, 2024
1 parent 4e0ec4f commit 909a010
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion athena-dynamodb/athena-dynamodb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ Resources:
Statement:
- Action:
- dynamodb:DescribeTable
- dynamodb:ListSchemas
- dynamodb:ListTables
- dynamodb:Query
- dynamodb:Scan
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ protected Optional<PolicyDocument> getConnectorAccessPolicy()
{
return Optional.of(PolicyDocument.Builder.create()
.statements(ImmutableList.of(PolicyStatement.Builder.create()
.actions(ImmutableList.of("dynamodb:DescribeTable", "dynamodb:ListSchemas",
.actions(ImmutableList.of("dynamodb:DescribeTable",
"dynamodb:ListTables", "dynamodb:Query", "dynamodb:Scan"))
.resources(ImmutableList.of("*"))
.effect(Effect.ALLOW)
Expand Down

0 comments on commit 909a010

Please sign in to comment.