ankurk91/AWS SSM Run Remote Command
Execute remote commands on EC2 instance using SSM
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 12, 2026
- License
- MIT
Pinned Snippet
uses: ankurk91/aws-ssm-run-command-action@969be0a6017c366c099e89c72f79f037bdf5fa63 # v1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| ec2_instance_id | Target EC2 instance ID | yes | — |
| run_as_user | A valid Linux user name on EC2 | yes | — |
| commands | Multiline commands to run on server | yes | — |
| log_bucket_name | S3 bucket name to store logs | yes | — |
| s3_prefix | S3 bucket prefix | — | deployments |
| comment | Comment | — | GitHub Actions |
| execution_timeout | Script is forcibly terminated after this number of seconds | — | 3600 |
| poll_interval_ms | Milliseconds to poll command status | — | 2000 |
Outputs
| name | description |
|---|---|
| command-exit-code | Command exit code |