ankurk91/AWS SSM Run Remote Command

Execute remote commands on EC2 instance using SSM

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 12, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: ankurk91/aws-ssm-run-command-action@969be0a6017c366c099e89c72f79f037bdf5fa63 # v1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
ec2_instance_idTarget EC2 instance IDyes
run_as_userA valid Linux user name on EC2yes
commandsMultiline commands to run on serveryes
log_bucket_nameS3 bucket name to store logsyes
s3_prefixS3 bucket prefixdeployments
commentCommentGitHub Actions
execution_timeoutScript is forcibly terminated after this number of seconds3600
poll_interval_msMilliseconds to poll command status2000
namedescription
command-exit-codeCommand exit code