I want a to write an AWS cloudwatch event rule that fires at 1:00, 7:00, 13:00 and 19:00 hrs every day, this can be a cron or rate expression.
I also have a similar requirement for another event rule that fires every day at 2:00, 8:00, 14:00, 20:00 hrs
# will be writing the expressions in terraform scripts like this
resource "aws_cloudwatch_event_rule" "stop_instances" {
name = "StopInstance"
description = "Stop instances nightly"
schedule_expression = "cron(0 0 * * ? *)"
}