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.55k stars 612 forks source link

Idle Config starting another worker #3872

Open christophersavory opened 5 months ago

christophersavory commented 5 months ago

We are using version 5.9.0 and I recently added idle_config to our setup:

  idle_config = [{
    cron             = "* * 9-18 * * 1-5"
    timeZone         = "America/Chicago"
    idleCount        = 1
    # Defaults to 'oldest_first'
    evictionStrategy = "oldest_first"
  }]

It works for the most part as in new actions are picked up immediately instead of having to wait, but what is happening is another runner will be started as well as the idle runner being there.

christophersavory commented 4 months ago

@npalm is this a configuration issue or a bug?