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
Copy file name to clipboardExpand all lines: modules/runners/README.md
+7-1
Original file line number
Diff line number
Diff line change
@@ -65,14 +65,17 @@ No requirements.
65
65
| 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
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 |
68
+
| block\_device\_mappings | The EC2 instance block device configuration. Takes the following keys: `device_name`, `delete_on_termination`, `volume_type`, `volume_size`, `encrypted`, `iops`|`map(string)`|`{}`| no |
69
+
| create\_service\_linked\_role\_spot | (optional) create the serviced linked role for spot instances that is required by the scale-up lambda. |`bool`|`false`| no |
| enable\_ssm\_on\_runners | Enable to allow access the runner instances for debugging purposes via SSM. Note that this adds additional permissions to the runner instances. |`bool`| n/a | yes |
70
72
| 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
73
| environment | A name that identifies the environment, used as prefix and for tagging. |`string`| n/a | yes |
72
74
| 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
75
| 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
76
| 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
77
| instance\_type | Default instance type for the action runner. |`string`|`"m5.large"`| no |
78
+
| lambda\_s3\_bucket | S3 bucket from which to specify lambda functions. This is an alternative to providing local files directly. |`any`|`null`| no |
76
79
| lambda\_timeout\_scale\_down | Time out for the scale down lambda in seconds. |`number`|`60`| no |
77
80
| lambda\_timeout\_scale\_up | Time out for the scale up lambda in seconds. |`number`|`60`| no |
78
81
| lambda\_zip | File location of the lambda zip file. |`string`|`null`| no |
@@ -85,6 +88,8 @@ No requirements.
85
88
| runner\_architecture | The platform architecture of the runner instance\_type. |`string`|`"x64"`| no |
86
89
| runner\_as\_root | Run the action runner under the root user. |`bool`|`false`| no |
87
90
| runner\_extra\_labels | Extra labels for the runners (GitHub). Separate each label by a comma |`string`|`""`| no |
91
+
| runners\_lambda\_s3\_key | S3 key for runners lambda function. Required if using S3 bucket to specify lambdas. |`any`|`null`| no |
92
+
| runners\_lambda\_s3\_object\_version | S3 object version for runners lambda function. Useful if S3 versioning is enabled on source bucket. |`any`|`null`| no |
88
93
| runners\_maximum\_count | The maximum number of runners that will be created. |`number`|`3`| no |
| tags | Map of tags that will be added to created resources. By default resources will be tagged with name and environment. |`map(string)`|`{}`| no |
95
100
| userdata\_post\_install | User-data script snippet to insert after GitHub acton runner install |`string`|`""`| no |
96
101
| userdata\_pre\_install | User-data script snippet to insert before GitHub acton runner install |`string`|`""`| no |
102
+
| userdata\_template | Alternative user-data template, replacing the default template. By providing your own user\_data you have to take care of installing all required software, including the action runner. Variables userdata\_pre/post\_install are ignored. |`string`|`null`| no |
97
103
| vpc\_id | The VPC for the security groups. |`string`| n/a | yes |
0 commit comments