aws / aws/containers-roadmap

[ECS] [request]: Add a stopCode for ELB healthcheck terminated tasks

Open
#612 1 comment 7 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**
It would be helpful for scripting if there was a stopCode on stopped tasks that were terminated because they failed ELB health checks. Currently the only indication is the stoppedReason message (which I assume is less set in stone).

**Which service(s) is this request for?**
ECS (Fargate)

**Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?**
Rolling my own rollback mechanism for Fargate if health checks start failing on stack creation

**Are you currently working around this issue?**
Checking the stoppedReason

**Additional context**
Anything else we should know?

**Attachments**
If you think you might have additional information that you'd like to include via an attachment, please do - we'll take a look. (Remember to remove any personally-identifiable information.)

Contributor guide

Open the contributing guide

Research direction

The request names ECS (Fargate) and ELB health checks but provides no repository files, tests, or entry points. Start by locating how stopped-task stop codes and ELB health-check termination are represented; done means these tasks expose an explicit stopCode that can support rollback scripting.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.