Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

Commit 0603a90

Browse files
authored
721: [Bug] enableBackup breaks deploy (#793)
(cherry picked from commit 288bab6)
1 parent 5071b41 commit 0603a90

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/backup.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ export default class Backup extends Stack {
3939
scheduleExpression: Schedule.cron({
4040
minute: '0',
4141
hour: '5',
42-
day: '?',
43-
month: '*',
44-
weekDay: '*',
45-
year: '*',
4642
}),
4743
}),
4844
],
@@ -57,8 +53,8 @@ export default class Backup extends Stack {
5753
statements: [
5854
new PolicyStatement({
5955
effect: Effect.ALLOW,
60-
principals: [new ServicePrincipal('backup.amazonaws.com')],
6156
actions: ['sts:AssumeRole'],
57+
resources: ['*'],
6258
}),
6359
],
6460
}),

0 commit comments

Comments
 (0)