GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — [ECS] [request]: Document stopped-task fields of `ECS Task State Change` events and update `aws.ecs@ECSTaskStateChange` · Issue #2907 · aws/containers-roadmap Open DescriptionCommunity Note
Tell us about your requestDocument the fields of an Which service(s) is this request for?ECS, Fargate, and the EventBridge schema registry's Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?A common pattern is an EventBridge rule on stopped tasks that sends each event to a Lambda function, which reads why the task stopped and alerts on it or records it. Validating that payload needs to know which fields a stopped task's event has, and the three sources disagree:
Fields
Stopped reasonsBoth test tasks below stopped with
So on Fargate, a missing secret falls under the What would help
Are you currently working around this issue?By capturing real events, writing a schema by hand from them, and making every field optional unless the registry requires it. Additional contextThe test tasks were one-off Fargate tasks: one with an image tag that doesn't exist in Amazon ECR Public, and one whose task definition references a Secrets Manager secret that doesn't exist, with an execution role allowed to read it. The other five events came from a service whose container exits with code 1. A Powertools for AWS Lambda (TypeScript) feature request for a Parser schema of this event depends on the same field list: aws-powertools/powertools-lambda-typescript#5927. ActivityMetadataMetadataAssigneesTypeProjectsMilestoneRelationshipsDevelopmentIssue actions | |||||||||||||||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |