This repository was archived by the owner on Jan 16, 2025. It is now read-only.
File tree 4 files changed +16
-1
lines changed
4 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ module "runners" {
86
86
idle_config = var. idle_config
87
87
enable_ssm_on_runners = var. enable_ssm_on_runners
88
88
runner_additional_security_group_ids = var. runner_additional_security_group_ids
89
+ volume_size = var. volume_size
89
90
90
91
lambda_s3_bucket = var. lambda_s3_bucket
91
92
runners_lambda_s3_key = var. runners_lambda_s3_key
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ resource "aws_launch_template" "runner" {
44
44
ebs {
45
45
delete_on_termination = lookup (block_device_mappings. value , " delete_on_termination" , true )
46
46
volume_type = lookup (block_device_mappings. value , " volume_type" , " gp3" )
47
- volume_size = lookup (block_device_mappings. value , " volume_size" , 30 )
47
+ volume_size = lookup (block_device_mappings. value , " volume_size" , var . volume_size )
48
48
encrypted = lookup (block_device_mappings. value , " encrypted" , true )
49
49
iops = lookup (block_device_mappings. value , " iops" , null )
50
50
}
Original file line number Diff line number Diff line change @@ -322,3 +322,9 @@ variable "runner_additional_security_group_ids" {
322
322
type = list (string )
323
323
default = []
324
324
}
325
+
326
+ variable "volume_size" {
327
+ description = " Size of runner volume"
328
+ type = number
329
+ default = 30
330
+ }
Original file line number Diff line number Diff line change @@ -25,7 +25,9 @@ variable "environment" {
25
25
}
26
26
27
27
variable "enable_organization_runners" {
28
+ description = " Register runners to organization, instead of repo level"
28
29
type = bool
30
+ default = false
29
31
}
30
32
31
33
variable "github_app" {
@@ -346,3 +348,9 @@ variable "market_options" {
346
348
type = string
347
349
default = " spot"
348
350
}
351
+
352
+ variable "volume_size" {
353
+ description = " Size of runner volume"
354
+ type = number
355
+ default = 30
356
+ }
You can’t perform that action at this time.
0 commit comments