- Newest
- Most votes
- Most comments
A detailed status of "Terminated" in SSM Run Command basically means that the command exceeded its max-errors limit and subsequent command invocations were canceled by the system.
There is a concept of Rate control in Run Command (AWS-RunPatchBaseline is a Run Command document) through which you can control the error and rate at which commands are sent to managed nodes in a group (concurrency controls and error controls)
Example:
You are patching 10 managed nodes and have configured "Error threshold" field to be 50%. If the command fails on 5 managed nodes then the system stops sending the command to additional nodes as soon as the 6th error is received and the detailed status will be "Terminated" for these remaining nodes.
In your case, it is possible that the "Error threshold" field in the Maintenance Window is set to a lower value and as soon as the patching operation fails on a small number of nodes, the system cancels the invocation to the rest of the managed nodes and puts them in "Terminated" state. Hence, you do not see any output or anything in logs since the command was never sent to the node.
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 3 months ago