Hi,
we had an application running in our development environment for a while just fine.
Now I just tried to update the stack with the was cli:
cdk synth --all -c config=prod --profile prod
cdk deploy --all -c config=prod --profile prod
it tried to update the stack, but aborted the update and rolled back. However also the rollback now shows:
"UPDATE_ROLLBACK_FAILED" in the cloudformation stack.
The problem ist the AWS::ECS::Service
Which gave me the: Resource handler returned message: "Error occurred during operation 'ECS Deployment Circuit Breaker was triggered'." (RequestToken: 52b9bd9c-438c-1cfa-0f5b-db848cde6b6b, HandlerErrorCode: GeneralServiceException)
As the app was already running fine, before and is also running fine currently, I don't think it has anything to do with the application not being healthy or anything. The appliaction or docker code has not been changed.
I only wanted to increase the cpu and memory of the FARGATE ecs servers:
ecs.FargateTaskDefinition
cpu: 1024 -2048,
memoryLimitMiB: 2048 -> 4096
and
ecs.ContainerImage.fromEcrRepository
cpu: 512 -> 1023,
memoryReservationMiB: 256 -> 512,
also the
aws cloudformation continue-update-rollback
resulted in the same problem.
How can i best fix this or find out where the problem is?
Thank you.