forked from basisai/terraform-helm-actions-runner-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tf
32 lines (21 loc) · 946 Bytes
/
main.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
module "action_runner_scale_set_controller" {
source = "./modules/gha-runner-scale-set-controller"
chart_version = var.action_runner_scale_set_controller_chart_version
release_name = var.controller_helm_release_name
}
module "action_runner_scale_set" {
source = "./modules/gha-runner-scale-set"
chart_version = var.action_runner_scale_set_chart_version
release_name = var.scale_set_release_name
github_config_url = var.github_config_url
github_token = var.github_token
github_app_id = var.github_app_id
github_app_installation_id = var.github_app_installation_id
github_app_private_key = var.github_app_private_key
runner_group = var.runner_group
runner_scale_set_name = var.runner_scale_set_name
auth_method = var.auth_method
depends_on = [module.action_runner_scale_set_controller]
min_runners = var.min_runners
max_runners = var.max_runners
}