Skip to content

Commit

Permalink
Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
“LAKSHMIRPILLAI” committed Oct 24, 2024
1 parent acbd26b commit f950046
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 7 deletions.
32 changes: 26 additions & 6 deletions cdk/lib/__snapshots__/super-mode-calculator.test.ts.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion cdk/lib/super-mode-calculator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ export class SuperModeCalculator extends GuStack {
role.addToPolicy(
new PolicyStatement({
actions: ['dynamodb:Query'],
resources: [superModeCalculatorTable.tableArn],
resources: [
`arn:aws:dynamodb:eu-west-1:${this.account}:table/super-mode-calculator-${this.stage}`,
`arn:aws:dynamodb:eu-west-1:${this.account}:table/super-mode-calculator-${this.stage}/index/*`
],
}),
);
role.addToPolicy(
Expand Down

0 comments on commit f950046

Please sign in to comment.