diff --git a/terraform/environments/apex/module/lambda/main.tf b/terraform/environments/apex/module/lambda/main.tf index 32bfd7a96c3..c36b463f9f5 100644 --- a/terraform/environments/apex/module/lambda/main.tf +++ b/terraform/environments/apex/module/lambda/main.tf @@ -32,7 +32,7 @@ resource "aws_lambda_function" "snapshotDBFunction" { resource "aws_cloudwatch_event_rule" "mon_sun" { name = "laa-createSnapshotRule-LWN8E1LNHFJR" description = "Fires every five minutes" - schedule_expression = "0 2 ? * MON-SUN *" + schedule_expression = "cron(00 4 ? * MON-SUN *)" } resource "aws_cloudwatch_event_target" "check_mon_sun" {