-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Deregistering an instance from an ELB returns immediately with connection draining enabled #2723
Comments
So, the CLI has the notion of waiters where you can wait for a specific state to get reached. For ELB, the CLI has a However, for your use case it seems that you need the opposite, a waiter for an out of service instance because according to the docs, once the the instance has been deregistered its status will be Given there is no waiter for this in the CLI, the best you can do is do the pulling for the |
I have the same problem, would be great for a wait command for this |
Good Morning! We're closing this issue here on GitHub, as part of our migration to UserVoice for feature requests involving the AWS CLI. This will let us get the most important features to you, by making it easier to search for and show support for the features you care the most about, without diluting the conversation with bug reports. As a quick UserVoice primer (if not already familiar): after an idea is posted, people can vote on the ideas, and the product team will be responding directly to the most popular suggestions. We’ve imported existing feature requests from GitHub - Search for this issue there! And don't worry, this issue will still exist on GitHub for posterity's sake. As it’s a text-only import of the original post into UserVoice, we’ll still be keeping in mind the comments and discussion that already exist here on the GitHub issue. GitHub will remain the channel for reporting bugs. Once again, this issue can now be found by searching for the title on: https://aws.uservoice.com/forums/598381-aws-command-line-interface -The AWS SDKs & Tools Team |
Based on community feedback, we have decided to return feature requests to GitHub issues. |
It looks like this issue can now be closed as the |
|
When I deregister an instance from an ELB with connection draining, I would expect that the aws cli deregister-instance-from-load-balancer call would return after all connections have been drained. However, this doesn't look like the case as the API call returns as soon as the request is received, regardless of whether or not the connection is still alive. Is there a workaround to ensure that the connection has been fully drained?
My use case is that I am terminating an instance as soon as the deregistration is successful/returns a response, but there's no guarantee that I don't have connections still.
The text was updated successfully, but these errors were encountered: