Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEPLOYMENT_BLOCKED is not handled #3

Open
ivanmaximenko opened this issue Jan 11, 2024 · 0 comments
Open

DEPLOYMENT_BLOCKED is not handled #3

ivanmaximenko opened this issue Jan 11, 2024 · 0 comments

Comments

@ivanmaximenko
Copy link

Protection manager does not handle the case when:

While trying to update the protection status of a task, if you receive a DEPLOYMENT_BLOCKED error message, it means the service has more protected tasks than the desired count of tasks for the service. To resolve this error, do one the following:
- Wait for the current task protection to expire. Then set task protection.
- Determine which tasks can be stopped. Then use UpdateTaskProtectionwith the protectionEnabled option set to false for these tasks.
- Increase the desired task count of the service to more than the number of protected tasks.

Text from here https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-scale-in-protection.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant