aws / aws/containers-roadmap

[service] [request]: ECS console to show scheduled task triggered by EventBridge Rule and EventBridge Scheduler

Open
#2,151 0 comments 16 reactions 0 assignees View on GitHub
ECS Proposed
Dominant language
Shell
Stars
5.4k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

### Community Note

* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue or have submitted a pull request, please leave a comment

**Tell us about your request**
To show scheduled task that was triggered by EventBridge Rule and EventBridge Scheduler. We are using AWS CoPilot CLI to handle our ECS deployment and specifically using `type: Scheduled Job` for our copilot deployment.

**Which service(s) is this request for?**
ECS, Scheduled Task

**Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?**
I've tried to deploy scheduled job using AWS CoPilot CLI and expecting for the deployed job to show up as `Scheduled Tasks` in AWS ECS console but it is not. When I check in EventBridge Rule, it is there.
When the schedule/cron matched, it only appears as task in ECS console only, meaning if the schedule/cron is not matched, there is nothing to see in AWS console.

**Are you currently working around this issue?**
Nope.

**Additional context**
NA

**Attachments**
```
name:
type: Scheduled Job

on:
schedule: "50 06 21 09 *"

image:
location:

cpu: 256 # Number of CPU units for the task.
memory: 512 # Amount of memory in MiB used by the task.
```
![image](https://github.com/aws/containers-roadmap/assets/41740185/633faf98-8035-42cf-9489-4cd20444da94)

![image](https://github.com/aws/containers-roadmap/assets/41740185/bbdea5d5-2452-4ed3-9e25-3fe8837dd4e4)

Reference from AWS Copilot issue:
https://github.com/aws/copilot-cli/issues/3077#issuecomment-1710487585

Contributor guide

Open the contributing guide

Research direction

Start with the ECS console's Scheduled Tasks view and compare it with the EventBridge Rule and EventBridge Scheduler resources described in the request. Check how an AWS Copilot Scheduled Job appears before and after its cron fires. Done means the console represents the scheduled task configuration even when no task has run.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.