[ECS] [request]: Improve creation of scheduled tasks from ECS console
Ref: https://github.com/aws/containers-roadmap/issues/2087#issuecomment-1665218798
Customers' use case
Our use case is a mix of scheduled tasks that run things like a monthly audit, and an ECS service running cron for more frequent jobs such as order confirmation emails etc. These all run the same docker image build through github actions.
When the codebase is updated, the service can be updated to use the right task definition version using "aws-actions/amazon-ecs-deploy-task-definition", but there's no equivalent for scheduled tasks.
When creating a scheduled task through the classic ECS console, the task definition version has to be selected, e.g. "145 (latest)" and this doesn't change when there's a new deployment. I can then edit the scheduled task through CloudWatch > Events > Rules or EventBridge > Buses > Rules and both have a radio button to choose between "latest" or a specific version. It would be handy if the ECS console used the same option, to avoid having to use two different consoles when creating a new scheduled task.
As for scheduleExpressionTimezone, I have a job that needs to run at 00:00 on the first of the month in our local timezone. As the scheduled tasks use UTC, I have the same job scheduled twice - once at 00:00 on the non-daylight savings months, and another at 23:00 on the last day of the month for the summer months. I have many other jobs that would benefit from the fixed schedule too. I believe this can be achieved through API / CLI, but it's not even included in the EventBridge console.