I'm trying to deploy an EventBridge rule in Terraform with the following cron expression:
schedule_expression = "cron (5 5 * * ? *)"
Trying to apply the plan however, throws
Error: error creating EventBridge Rule (dev-cron):
ValidationException: Parameter ScheduleExpression is not valid.
status code: 400, request id: xxx
I have tried a cron generator, followed AWS docs on crons, and tried different cros, all throwing the same error. What am I missing here?