From 1cd3914cbea5246fd5ecd09f8889ea49a8db0545 Mon Sep 17 00:00:00 2001 From: Matthew Bonig Date: Wed, 24 Mar 2021 08:36:10 -0600 Subject: [PATCH] fixing perms on wakeywakey --- src/rds.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rds.ts b/src/rds.ts index d3e3e34..9312e71 100644 --- a/src/rds.ts +++ b/src/rds.ts @@ -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: ':',