base2Services / base2Services/cfn-start-stop-stack

Support stopping ECS services with the Daemon scheduling strategy

Open
#44 0 comments 0 reactions 0 assignees View on GitHub
cfn-manage enhancement
Dominant language
Ruby
Stars
11
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Attempting to stop services in an ECS cluster that used the daemon scheduling strategy throws an error. The logs are:
```
I, [2019-05-20T19:00:13.578661 #30810] INFO -- : Stopping ECS service my-service...
E, [2019-05-20T19:00:13.598088 #30810] ERROR -- : An exception occurred during stop operation against resource my-ecs-cluster
E, [2019-05-20T19:00:13.598134 #30810] ERROR -- : The daemon scheduling strategy does not support a desired count for services. Remove the desired count value and try again
```
The code that stops the ECS services needs to be aware of the different types of scheduling strategies and used the appropriate mechanism to stop the service for each.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.