From 0a2cc6b4b9a04623e839a146fbc97d25e679dde4 Mon Sep 17 00:00:00 2001 From: Penny <991850+scub@users.noreply.github.com> Date: Thu, 2 Mar 2023 12:55:35 -0500 Subject: [PATCH 1/2] cwEventCopySnapshotsRDS: use valid cron expression --- cftemplates/snapshots_tool_rds_dest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cftemplates/snapshots_tool_rds_dest.json b/cftemplates/snapshots_tool_rds_dest.json index 2a370e1..cae0250 100644 --- a/cftemplates/snapshots_tool_rds_dest.json +++ b/cftemplates/snapshots_tool_rds_dest.json @@ -507,7 +507,7 @@ "Properties": { "Description": "Triggers the RDS Copy state machine in the destination account", "ScheduleExpression": { - "Fn::Join": ["", ["cron(", "/30 * * * ? *", ")"]] + "Fn::Join": ["", ["cron(", "*/30 * * * ? *", ")"]] }, "State": "ENABLED", "Targets": [{ From e14e2b93b1b71c886f5289ab2f85299365cf3cc2 Mon Sep 17 00:00:00 2001 From: Penny <991850+scub@users.noreply.github.com> Date: Thu, 2 Mar 2023 13:04:35 -0500 Subject: [PATCH 2/2] cwEventDeleteOldSnapshotsRDS: use valid cron expression --- cftemplates/snapshots_tool_rds_dest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cftemplates/snapshots_tool_rds_dest.json b/cftemplates/snapshots_tool_rds_dest.json index cae0250..8e54e32 100644 --- a/cftemplates/snapshots_tool_rds_dest.json +++ b/cftemplates/snapshots_tool_rds_dest.json @@ -527,7 +527,7 @@ "Properties": { "Description": "Triggers the RDS DeleteOld state machine in the destination account", "ScheduleExpression": { - "Fn::Join": ["", ["cron(", "0 /1 * * ? *", ")"]] + "Fn::Join": ["", ["cron(", "0 */1 * * ? *", ")"]] }, "State": "ENABLED", "Targets": [{