hisapy/AWS Run Shell Script

Run a shell script inside an EC2 managed instance via AWS SSM SendCommand

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
instance_idThe instance ID to send the command toyes
working_directoryThe working directory for the command executionno/home/ec2-user
userThe user to run the command asnoec2-user
commandThe shell command to execute via AWS-RunShellScriptyes
commentA comment for the command executionno
timeoutThe timeout for the command execution in secondsno120
wait_for_resultWhether to wait for command to return a result (true|false)notrue
namedescription
command_idThe SSM command ID
command_statusThe status of the command executed in the instance
command_outputThe output of the command executed in the instance