philips-labs / terraform-aws-github-runner

Terraform module for scalable GitHub action runners on AWS
https://philips-labs.github.io/terraform-aws-github-runner/
MIT License
2.62k stars 627 forks source link

Using Spot and On-Demand GitHub Runners with Philips-Labs Module #4242

Open hfsher43 opened 3 weeks ago

hfsher43 commented 3 weeks ago

I would like to use both spot and on-demand GitHub runners. Specifically, I want to have a mix of some spot and some on-demand GitHub runners. Is it possible to achieve this with the Philips-labs module?

hfsher43 commented 3 weeks ago

@npalm

ay0o commented 2 weeks ago

@hfsher43 of course it is, have a look at the multi-runner config.

npalm commented 2 weeks ago

You can deploy with the multi-runner setup two configurations. Using different labels will target a job to a certain fleet.