Skip to content

Commit

Permalink
PLT-216: Set idle config on Github Actions Runners (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfreeman-navapbc authored Nov 15, 2023
1 parent 1f308ca commit 5dcc373
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions terraform/services/github-actions/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ module "github-actions" {

enable_ssm_on_runners = true

idle_config = [{
cron = "* * 9-17 * * 1-5"
timeZone = "America/New_York"
idleCount = 2
evictionStrategy = "oldest_first"
}]

runner_iam_role_managed_policy_arns = [aws_iam_policy.runner.arn]
runner_additional_security_group_ids = [data.aws_security_group.vpn.id]

Expand Down

0 comments on commit 5dcc373

Please sign in to comment.