Ephemeral pool size not matching #2047
Unanswered
jgilnom-san
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all.
I deployed ephemeral github runners with this module with a size of 2 and max_size of 2 too. But when I go to the launched instances, I got 6 instances created and running. I cannot find why 6 and no 2 and what is not working. Could someone tell me?
Mi configuration is:
module "github-runner" {
source = "philips-labs/github-runner/aws"
version = "v0.40.2"
aws_region = eu-west-1
vpc_id = xxxx
subnet_ids = [xxxx]
environment = dev
github_app = {
key_base64 = data.aws_secretsmanager_secret_version.key_base64_version.secret_string
id = xxxx
webhook_secret = random_id.random.hex
}
webhook_lambda_zip = module.lambdas.files[0]
runners_lambda_zip = module.lambdas.files[1]
runner_binaries_syncer_lambda_zip = module.lambdas.files[2]
enable_organization_runners = true
userdata_template = "./templates/user-data.sh"
instance_types = ["t4g.small","t3a.medium"]
enable_ssm_on_runners = true
runner_extra_labels = "dev,amazon-linux"
runners_maximum_count = 2
pool_runner_owner = xxxxx
pool_config = [{
size = 2
schedule_expression = "cron(* * * * ? )"
}]
enable_ephemeral_runners = true
enable_job_queued_check = true
log_level = "debug"
scale_down_schedule_expression = "cron( * * * ? *)"
delay_webhook_event = 0
minimum_running_time_in_minutes = 60
enabled_userdata = true
tags = local.required_tags
}
Beta Was this translation helpful? Give feedback.
All reactions