ECS: Fargate service replacement doesn't preserve desired task count #26189
Labels
@aws-cdk/aws-ecs
Related to Amazon Elastic Container
bug
This issue is a bug.
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
p1
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
My team recently ran into this bug which caused our Fargate service to be replaced instead of updated during a deployment. Not ideal, but during the replacement we observed some behaviors which surprised us. Basically the service was replaced as soon as a single task in the new service was up and running. This caused the service to suddenly be under-scaled for the traffic it was receiving. Replacements of Fargate services are rare, but it seems like CDK/ECS could be smarter about how it's done.
Expected Behavior
Current Behavior
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.59.0
Framework Version
No response
Node.js Version
18
OS
Linux
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: