HomeElementl

Stub ECS StopTask

Description

Stub ECS StopTask

Summary:
https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_StopTask.html

Unlike the real endpoint which allows for some shutdown time to respond
to SIGTERM, this immediately switches the lastStatus to STOPPED.

The real ECS eventaully garbage collects stopped tasks so they'll no
longer appear in things like ListTasks; our stubbed ECS does not.

Test Plan: unit

Reviewers: alangenfeld, dgibson, johann

Reviewed By: dgibson

Differential Revision: https://dagster.phacility.com/D8403

Details

Provenance
jordansandersAuthored on Jun 16 2021, 3:16 PM
Reviewer
dgibson
Differential Revision
D8403: Stub ECS StopTask
Parents
R1:c66fc5aea00e: Stub ECS ListTagsForResource for tasks only
Branches
Unknown
Tags
Unknown