Skip to content

Commit

Permalink
fix: adds dynamodb:ConditionCheckItem permission to dynamodb construct
Browse files Browse the repository at this point in the history
  • Loading branch information
cmcnicholas authored Jun 11, 2023
1 parent 71b1580 commit e0d9a29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/constructs/aws/DatabaseDynamoDBSingleTable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export class DatabaseDynamoDBSingleTable extends AwsConstruct {
"dynamodb:DeleteItem",
"dynamodb:BatchWriteItem",
"dynamodb:UpdateItem",
"dynamodb:ConditionCheckItem",
],
[this.table.tableArn, Stack.of(this).resolve(Fn.join("/", [this.table.tableArn, "index", "*"]))]
),
Expand Down

0 comments on commit e0d9a29

Please sign in to comment.