myriad-actions/launch ec2 instance
launch an on demand ec2 instance as github runner following permissions are required permissions: id-token: write contents: read
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| environment | environment used for the instance tag | yes | — |
| config-path | path to the ec2.yml file which stores the parameters for the instance creation | yes | — |
| instance-type | aws instance type to be used | no | micro |
| github-pat | GitHub personal access token | yes | — |
Outputs
| name | description |
|---|---|
| label | Name of the unique label assigned to the runner. The label is used in two cases: - to use as the input of 'runs-on' property for the following jobs; - to remove the runner from GitHub when it is not needed anymore. |
| ec2-instance-id | EC2 Instance Id of the created runner. The id is used to terminate the EC2 instance when the runner is not needed anymore. |