Extend ssm command-executed waiter to wait for all instances targeted by a command #3269
Closed
2 tasks done
Labels
closed-for-staleness
feature-request
This issue requests a feature.
p2
This is a standard priority issue
response-requested
Waiting on additional info and feedback.
waiter
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: