Open snacks-lord opened 4 years ago
Could it be an issue with the schedule expression? Can you validate against https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions ?
I did check against that page before opening this issue and it looked right to me.
I also used the example in the instructions to start from. Does this not look right?
` "BackupInterval": {
"Type": "Number",
"Default": "3",
"Description": "Interval for backups in hours. Default is 24"
...
"BackupSchedule": {
"Type": "String",
"Default": "0 0 3 6 9 12 15 18 21 * * ? *",
"Description": "Backup schedule in Cloudwatch Event cron format. Needs to run at least once for every Interval. The default value runs once every at 1AM UTC. More information: http://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html"
},
`
I am assuming you'd like to run it on those hours. If that is the case, I believe "0 0,3,6,9,12,15,18.21 ? *" should work
I am getting this error when creating the stack in CF.
Parameter ScheduleExpression is not valid. (Service: AmazonCloudWatchEvents; Status Code: 400; Error Code: ValidationException; Request ID: d50ae7df-e029-4be2-8755-e7ccf3701bdf)