Skip to content

Commit

Permalink
fixing perms on wakeywakey
Browse files Browse the repository at this point in the history
  • Loading branch information
mbonig committed Mar 24, 2021
1 parent 20f5fa5 commit 1cd3914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export class WakeyWakeyForRds extends Construct {

lambda.addToRolePolicy(new statement.Rds().allow().toDescribeDBInstances());

lambda.addToRolePolicy(new statement.Rds().allow().toStopDBInstance().on(Arn.format({
lambda.addToRolePolicy(new statement.Rds().allow().toStartDBInstance().on(Arn.format({
resourceName: props.dbInstanceIdentifier,
resource: 'db',
sep: ':',
Expand Down

0 comments on commit 1cd3914

Please sign in to comment.