[BUG] ECS: DeleteService keeps the service's deployment records
Author: allensanbornCreated Sep 30, 2026Updated Sep 30, 2026
What happens
After DeleteService, the service's deployment records are kept, and any still unfinished is marked STOPPED. DescribeServiceDeployments and ListServiceDeployments go on returning them.
Expected
The ECS developer guide says: "Amazon ECS deletes the service deployment when you delete a service." The records should be removed along with the service.
Note
Follows on from #4694, which stops (rather than deletes) a deleted service's in-flight deployments, so that none is reported in progress forever.
Source: floci-io/floci