You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add support for ARM64 runners
* Support Graviton (a1) and Graviton2 (*6g*)
* Address TF format issues.
* Address additional TF format error.
* Add test case for arm64 release asset.
* Add documentation changes for ARM64.
* Make ARM/ICU patch conditional in user_data.sh.
* Run pre-commit hooks.
* Release 0.3.0
* Add feature to keep runners idle based on an idle config
* Update modules/runners/variables.tf
Co-authored-by: Ben Davies <[email protected]>
* Update modules/runners/variables.tf
Co-authored-by: Ben Davies <[email protected]>
* Fix formatting
* Fix unit test
* Fix unit test
* Implement idle config for terraform deployment
* Fix logging
* Set name for event rules
* Add documentation for idle config
* Add documentation for idle config
* Add documentation for idle config
Co-authored-by: Brice Ruth <[email protected]>
Co-authored-by: Ben Davies <[email protected]>
Copy file name to clipboardExpand all lines: modules/runners/README.md
+49-38Lines changed: 49 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,52 +48,63 @@ yarn run dist
48
48
```
49
49
50
50
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
51
+
## Requirements
52
+
53
+
No requirements.
54
+
55
+
## Providers
56
+
57
+
| Name | Version |
58
+
|------|---------|
59
+
| aws | n/a |
60
+
51
61
## Inputs
52
62
53
63
| Name | Description | Type | Default | Required |
54
-
|------|-------------|:----:|:-----:|:-----:|
55
-
| ami\_filter | List of maps used to create the AMI filter for the action runner AMI. | map(list(string)) |`{ "name": [ "amzn2-ami-hvm-2.*-x86_64-ebs" ] }`| no |
56
-
| ami\_owners | The list of owners used to select the AMI of action runner instances. | list(string) |`[ "amazon" ]`| no |
| encryption | KMS key to encrypted lambda environment secrets. Either provide a key and `encrypt` set to `true`. Or set the key to `null` and encrypt to `false`. | object | n/a | yes |
61
-
| environment | A name that identifies the environment, used as prefix and for tagging. | string | n/a | yes |
62
-
| github\_app | GitHub app parameters, see your github app. Ensure the key is base64 encoded. | object | n/a | yes |
63
-
| instance\_profile\_path | The path that will be added to the instance\_profile, if not set the environment name will be used. | string |`"null"`| no |
64
-
| instance\_type | Default instance type for the action runner. | string |`"m5.large"`| no |
65
-
| lambda\_timeout\_scale\_down | Time out for the scale down lambda in seconds. | number |`"60"`| no |
66
-
| lambda\_timeout\_scale\_up | Time out for the scale up lambda in seconds. | number |`"60"`| no |
67
-
| lambda\_zip | File location of the lambda zip file. | string |`"null"`| no |
68
-
| market\_options | Market options for the action runner instances. | string |`"spot"`| no |
69
-
| minimum\_running\_time\_in\_minutes | The time an ec2 action runner should be running at minimum before terminated if non busy. | number |`"5"`| no |
70
-
| overrides | This maps provides the possibility to override some defaults. The following attributes are supported: `name\_sg` overwrite the `Name` tag for all security groups created by this module. `name\_runner\_agent\_instance` override the `Name` tag for the ec2 instance defined in the auto launch configuration. `name\_docker\_machine\_runners` override the `Name` tag spot instances created by the runner agent. | map(string) |`{ "name_runner": "", "name_sg": "" }`| no |
71
-
| role\_path | The path that will be added to the role, if not set the environment name will be used. | string |`"null"`| no |
72
-
| role\_permissions\_boundary | Permissions boundary that will be added to the created role for the lambda. | string |`"null"`| no |
73
-
| runner\_architecture | The platform architecture of the runner instance\_type. | string |`"x64"`| no |
74
-
| runner\_as\_root | Run the action runner under the root user. | bool |`"false"`| no |
75
-
| runner\_extra\_labels | Extra labels for the runners \(GitHub\). Separate each label by a comma | string |`""`| no |
76
-
| runners\_maximum\_count | The maximum number of runners that will be created. | number |`"3"`| no |
| subnet\_ids | List of subnets in which the action runners will be launched, the subnets needs to be subnets in the `vpc\_id`. | list(string) | n/a | yes |
82
-
| tags | Map of tags that will be added to created resources. By default resources will be tagged with name and environment. | map(string) |`{}`| no |
83
-
| userdata\_post\_install | User-data script snippet to insert after GitHub acton runner install | string |`""`| no |
84
-
| userdata\_pre\_install | User-data script snippet to insert before GitHub acton runner install | string |`""`| no |
85
-
| vpc\_id | The VPC for the security groups. | string | n/a | yes |
| ami\_filter | List of maps used to create the AMI filter for the action runner AMI. |`map(list(string))`| <pre>{<br> "name": [<br> "amzn2-ami-hvm-2.*-x86_64-ebs"<br> ]<br>}</pre> | no |
66
+
| ami\_owners | The list of owners used to select the AMI of action runner instances. |`list(string)`| <pre>[<br> "amazon"<br>]</pre> | no |
| block\_device\_mappings | The EC2 instance block device configuration. Takes the following keys: `delete_on_termination`, `volume_type`, `volume_size`, `encrypted`, `iops`|`map(string)`|`{}`| no |
| encryption | KMS key to encrypted lambda environment secrets. Either provide a key and `encrypt` set to `true`. Or set the key to `null` and encrypt to `false`. | <pre>object({<br> kms_key_id = string<br> encrypt = bool<br> })</pre> | n/a | yes |
71
+
| environment | A name that identifies the environment, used as prefix and for tagging. |`string`| n/a | yes |
72
+
| github\_app | GitHub app parameters, see your github app. Ensure the key is base64 encoded. | <pre>object({<br> key_base64 = string<br> id = string<br> client_id = string<br> client_secret = string<br> })</pre> | n/a | yes |
73
+
| idle\_config | List of time period that can be defined as cron expression to keep a minimum amount of runners active instead of scaling down to 0. By defining this list you can ensure that in time periods that match the cron expression within 5 seconds a runner is kept idle. | <pre>list(object({<br> cron = string<br> timeZone = string<br> idleCount = number<br> }))</pre> |`[]`| no |
74
+
| instance\_profile\_path | The path that will be added to the instance\_profile, if not set the environment name will be used. |`string`|`null`| no |
75
+
| instance\_type | Default instance type for the action runner. |`string`|`"m5.large"`| no |
76
+
| lambda\_timeout\_scale\_down | Time out for the scale down lambda in seconds. |`number`|`60`| no |
77
+
| lambda\_timeout\_scale\_up | Time out for the scale up lambda in seconds. |`number`|`60`| no |
78
+
| lambda\_zip | File location of the lambda zip file. |`string`|`null`| no |
79
+
| market\_options | Market options for the action runner instances. |`string`|`"spot"`| no |
80
+
| minimum\_running\_time\_in\_minutes | The time an ec2 action runner should be running at minimum before terminated if non busy. |`number`|`5`| no |
81
+
| overrides | This maps provides the possibility to override some defaults. The following attributes are supported: `name_sg` overwrite the `Name` tag for all security groups created by this module. `name_runner_agent_instance` override the `Name` tag for the ec2 instance defined in the auto launch configuration. `name_docker_machine_runners` override the `Name` tag spot instances created by the runner agent. |`map(string)`| <pre>{<br> "name_runner": "",<br> "name_sg": ""<br>}</pre> | no |
82
+
| role\_path | The path that will be added to the role, if not set the environment name will be used. |`string`|`null`| no |
83
+
| role\_permissions\_boundary | Permissions boundary that will be added to the created role for the lambda. |`string`|`null`| no |
84
+
| runner\_architecture | The platform architecture of the runner instance\_type. |`string`|`"x64"`| no |
85
+
| runner\_as\_root | Run the action runner under the root user. |`bool`|`false`| no |
86
+
| runner\_extra\_labels | Extra labels for the runners (GitHub). Separate each label by a comma |`string`|`""`| no |
87
+
| runners\_maximum\_count | The maximum number of runners that will be created. |`number`|`3`| no |
| subnet\_ids | List of subnets in which the action runners will be launched, the subnets needs to be subnets in the `vpc_id`. |`list(string)`| n/a | yes |
93
+
| tags | Map of tags that will be added to created resources. By default resources will be tagged with name and environment. |`map(string)`|`{}`| no |
94
+
| userdata\_post\_install | User-data script snippet to insert after GitHub acton runner install |`string`|`""`| no |
95
+
| userdata\_pre\_install | User-data script snippet to insert before GitHub acton runner install |`string`|`""`| no |
96
+
| vpc\_id | The VPC for the security groups. |`string`| n/a | yes |
0 commit comments