gingercybersecurity/Terminate EC2 Runner

Delete EC2 instance used for GitHub self-hosted runner

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Mar 5, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: gingercybersecurity/terminate-ec2-runner@dfe7a23d36e352c93ce7c900779c8bdd9029baf0 # v2.1

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

namedescriptionrequireddefault
instance-idThe instance ID of the EC2 instance to terminateyes
cleanup-stale-tag-keyEC2 tag key to filter stale instances for cleanup. Must be provided together with cleanup-stale-tag-value.no
cleanup-stale-tag-valueEC2 tag value to filter stale instances for cleanup. Must be provided together with cleanup-stale-tag-key.no
cleanup-stale-minutesWhen using stale cleanup, only terminate instances that have been running for at least this many minutes.no60

no outputs