-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Extend ssm command-executed waiter to wait for all instances targeted by a command #3269
Comments
Thanks for the feature request. Waiter models are created and maintained upstream by service teams, as they are used across AWS SDKs. It looks like CommandExecuted has been the only SSM waiter for a while:
To what extent does your request overlap with #1744 / aws/aws-sdk#90 ? Here is the related PR that was written: https:/boto/botocore/pull/1753/files. The SSM team is still tracking the request to add this waiter, but it hasn't been prioritized. I can try checking in with them regarding this. But I don't think the request to update a waiter's name or polling logic would be considered because of the need to maintain backwards compatible behavior. If you can, please let me know specifically what model changes you are proposing and I can share that with the SSM team. |
Greetings! It looks like this issue hasn’t been active in longer than five days. We encourage you to check if this is still an issue in the latest release. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or upvote with a reaction on the initial post to prevent automatic closure. If the issue is already closed, please feel free to open a new one. |
Describe the feature
waits for the entire command to be executed on all instances it targets
(Maybe we should rename the original waiter to
wait command-invocation-executed
Use Case
With #1744 we can wait for a command to be executed on a single instance; however the SSM API has evolved and it's possible to send a command to multiple targets at the same time:
I want to wait for all of the instances with
Name=my-servers
Proposed Solution
The waiter should watch
ssm:ListCommands(CommandId=id)
untilCommands[0].Status=Success
Other Information
My current workaround:
Acknowledgements
SDK version used
aws-cli/2.17.56
Environment details (OS name and version, etc.)
MacOS
The text was updated successfully, but these errors were encountered: