Skip to content

Commit

Permalink
fix: use ephemeral runners
Browse files Browse the repository at this point in the history
  • Loading branch information
raisedadead committed Aug 27, 2023
1 parent 5d8289c commit a65641f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ module "runners" {
# override scaling down
# scale_down_schedule_expression = "cron(* * * * ? *)"

# enable ephemeral runners
enable_ephemeral_runners = true

# More on AWS Cron Expressions: https://stackoverflow.com/a/39508593/1932901
# Will scale down to minimum runners if there are no builds in the queue in the last 1 hours
scale_down_schedule_expression = "cron(0 0/1 * * ? *)"
Expand Down

0 comments on commit a65641f

Please sign in to comment.