Skip to content

Commit b342132

Browse files
committed
revert and typo
1 parent 7f52063 commit b342132

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

examples/ephemeral/main.tf

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
locals {
2-
environment = "ephemeraal"
2+
environment = "ephemeral"
33
aws_region = "eu-west-1"
44
}
55

@@ -32,9 +32,8 @@ module "runners" {
3232
# runner_binaries_syncer_lambda_zip = "../../lambda_output/runner-binaries-syncer.zip"
3333
# runners_lambda_zip = "../../lambda_output/runners.zip"
3434

35-
enable_organization_runners = true
36-
disable_check_wokflow_job_labels = true
37-
#runner_extra_labels = "default,example"
35+
enable_organization_runners = true
36+
runner_extra_labels = "default,example"
3837

3938
# enable access to the runners via SSM
4039
enable_ssm_on_runners = true
@@ -48,20 +47,20 @@ module "runners" {
4847
delay_webhook_event = 0
4948

5049
# Ensure you set the number not too low, each build require a new instance
51-
runners_maximum_count = 50
50+
runners_maximum_count = 20
5251

5352
# override scaling down
5453
scale_down_schedule_expression = "cron(* * * * ? *)"
5554

5655
enable_ephemeral_runners = true
5756

5857
# configure your pre-built AMI
59-
enabled_userdata = false
60-
ami_filter = { name = ["github-runner-amzn2-x86_64-2021*"] }
61-
ami_owners = [data.aws_caller_identity.current.account_id]
58+
# enabled_userdata = false
59+
# ami_filter = { name = ["github-runner-amzn2-x86_64-2021*"] }
60+
# ami_owners = [data.aws_caller_identity.current.account_id]
6261

6362
# Enable logging
64-
log_level = "debug"
63+
# log_level = "debug"
6564

6665
# Setup a dead letter queue, by default scale up lambda will kepp retrying to process event in case of scaling error.
6766
# redrive_policy_build_queue = {

0 commit comments

Comments
 (0)