Skip to content

Commit afadbb2

Browse files
authored
Merge pull request #2016 from philips-labs/develop
Release
2 parents a20811c + b733248 commit afadbb2

File tree

12 files changed

+959
-878
lines changed

12 files changed

+959
-878
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -364,13 +364,13 @@ In case the setup does not work as intended follow the trace of events:
364364
| Name | Version |
365365
|------|---------|
366366
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.14.1 |
367-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 3.38 |
367+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 3.50 |
368368

369369
## Providers
370370

371371
| Name | Version |
372372
|------|---------|
373-
| <a name="provider_aws"></a> [aws](#provider\_aws) | ~> 3.38 |
373+
| <a name="provider_aws"></a> [aws](#provider\_aws) | ~> 3.50 |
374374
| <a name="provider_random"></a> [random](#provider\_random) | n/a |
375375

376376
## Modules
@@ -402,7 +402,7 @@ In case the setup does not work as intended follow the trace of events:
402402
| <a name="input_ami_owners"></a> [ami\_owners](#input\_ami\_owners) | The list of owners used to select the AMI of action runner instances. | `list(string)` | <pre>[<br> "amazon"<br>]</pre> | no |
403403
| <a name="input_aws_partition"></a> [aws\_partition](#input\_aws\_partition) | (optiona) partition in the arn namespace to use if not 'aws' | `string` | `"aws"` | no |
404404
| <a name="input_aws_region"></a> [aws\_region](#input\_aws\_region) | AWS region. | `string` | n/a | yes |
405-
| <a name="input_block_device_mappings"></a> [block\_device\_mappings](#input\_block\_device\_mappings) | The EC2 instance block device configuration. Takes the following keys: `device_name`, `delete_on_termination`, `volume_type`, `volume_size`, `encrypted`, `iops` | <pre>list(object({<br> device_name = string<br> delete_on_termination = bool<br> volume_type = string<br> volume_size = number<br> encrypted = bool<br> iops = number<br> }))</pre> | `[]` | no |
405+
| <a name="input_block_device_mappings"></a> [block\_device\_mappings](#input\_block\_device\_mappings) | The EC2 instance block device configuration. Takes the following keys: `device_name`, `delete_on_termination`, `volume_type`, `volume_size`, `encrypted`, `iops` | <pre>list(object({<br> device_name = string<br> delete_on_termination = bool<br> volume_type = string<br> volume_size = number<br> encrypted = bool<br> iops = number<br> }))</pre> | <pre>[<br> {<br> "delete_on_termination": true,<br> "device_name": "/dev/xvd",<br> "encrypted": true,<br> "iops": null,<br> "volume_size": 30,<br> "volume_type": "gp3"<br> }<br>]</pre> | no |
406406
| <a name="input_cloudwatch_config"></a> [cloudwatch\_config](#input\_cloudwatch\_config) | (optional) Replaces the module default cloudwatch log config. See https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-Configuration-File-Details.html for details. | `string` | `null` | no |
407407
| <a name="input_create_service_linked_role_spot"></a> [create\_service\_linked\_role\_spot](#input\_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 |
408408
| <a name="input_delay_webhook_event"></a> [delay\_webhook\_event](#input\_delay\_webhook\_event) | The number of seconds the event accepted by the webhook is invisible on the queue before the scale up lambda will receive the event. | `number` | `30` | no |
@@ -480,7 +480,7 @@ In case the setup does not work as intended follow the trace of events:
480480
| <a name="input_userdata_post_install"></a> [userdata\_post\_install](#input\_userdata\_post\_install) | Script to be ran after the GitHub Actions runner is installed on the EC2 instances | `string` | `""` | no |
481481
| <a name="input_userdata_pre_install"></a> [userdata\_pre\_install](#input\_userdata\_pre\_install) | Script to be ran before the GitHub Actions runner is installed on the EC2 instances | `string` | `""` | no |
482482
| <a name="input_userdata_template"></a> [userdata\_template](#input\_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 |
483-
| <a name="input_volume_size"></a> [volume\_size](#input\_volume\_size) | Size of runner volume | `number` | `30` | no |
483+
| <a name="input_volume_size"></a> [volume\_size](#input\_volume\_size) | (Deprecaated, use block\_device\_mappings. Size of runner volume, if set it overrides the value provide via block\_device\_mappings. | `number` | `null` | no |
484484
| <a name="input_vpc_id"></a> [vpc\_id](#input\_vpc\_id) | The VPC for security groups of the action runners. | `string` | n/a | yes |
485485
| <a name="input_webhook_lambda_s3_key"></a> [webhook\_lambda\_s3\_key](#input\_webhook\_lambda\_s3\_key) | S3 key for webhook lambda function. Required if using S3 bucket to specify lambdas. | `any` | `null` | no |
486486
| <a name="input_webhook_lambda_s3_object_version"></a> [webhook\_lambda\_s3\_object\_version](#input\_webhook\_lambda\_s3\_object\_version) | S3 object version for webhook lambda function. Useful if S3 versioning is enabled on source bucket. | `any` | `null` | no |

examples/default/main.tf

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,14 @@ module "runners" {
3030
webhook_secret = random_id.random.hex
3131
}
3232

33+
block_device_mappings = []
34+
3335
# Grab zip files via lambda_download
34-
webhook_lambda_zip = "lambdas-download/webhook.zip"
35-
runner_binaries_syncer_lambda_zip = "lambdas-download/runner-binaries-syncer.zip"
36-
runners_lambda_zip = "lambdas-download/runners.zip"
36+
# webhook_lambda_zip = "lambdas-download/webhook.zip"
37+
# runner_binaries_syncer_lambda_zip = "lambdas-download/runner-binaries-syncer.zip"
38+
# runners_lambda_zip = "lambdas-download/runners.zip"
3739

38-
enable_organization_runners = false
40+
enable_organization_runners = true
3941
runner_extra_labels = "default,example"
4042

4143
# enable access to the runners via SSM

modules/runner-binaries-syncer/lambdas/runner-binaries-syncer/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,23 @@
1818
"@octokit/rest": "^18.12.0",
1919
"@trivago/prettier-plugin-sort-imports": "^3.2.0",
2020
"@types/jest": "^27.4.1",
21-
"@types/node": "^17.0.25",
21+
"@types/node": "^17.0.31",
2222
"@types/request": "^2.48.8",
2323
"@typescript-eslint/eslint-plugin": "^4.33.0",
2424
"@typescript-eslint/parser": "^4.33.0",
2525
"@vercel/ncc": "^0.33.4",
26-
"aws-sdk": "^2.1116.0",
26+
"aws-sdk": "^2.1126.0",
2727
"eslint": "^7.32.0",
2828
"eslint-plugin-prettier": "4.0.0",
2929
"jest": "^27.5.1",
30-
"jest-mock": "^27.5.1",
30+
"jest-mock": "^28.0.2",
3131
"prettier": "2.6.2",
3232
"ts-jest": "^27.1.4",
3333
"ts-node-dev": "^1.1.6",
34-
"typescript": "^4.6.3"
34+
"typescript": "^4.6.4"
3535
},
3636
"dependencies": {
37-
"axios": "^0.26.1",
37+
"axios": "^0.27.2",
3838
"tslog": "^3.3.3"
3939
}
4040
}

modules/runner-binaries-syncer/lambdas/runner-binaries-syncer/yarn.lock

Lines changed: 70 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,13 @@
536536
terminal-link "^2.0.0"
537537
v8-to-istanbul "^8.1.0"
538538

539+
"@jest/schemas@^28.0.2":
540+
version "28.0.2"
541+
resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-28.0.2.tgz#08c30df6a8d07eafea0aef9fb222c5e26d72e613"
542+
integrity sha512-YVDJZjd4izeTDkij00vHHAymNXQ6WWsdChFRK86qck6Jpr3DCL5W3Is3vslviRlP+bLuMYRLbdp98amMvqudhA==
543+
dependencies:
544+
"@sinclair/typebox" "^0.23.3"
545+
539546
"@jest/source-map@^27.5.1":
540547
version "27.5.1"
541548
resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-27.5.1.tgz#6608391e465add4205eae073b55e7f279e04e8cf"
@@ -597,6 +604,18 @@
597604
"@types/yargs" "^16.0.0"
598605
chalk "^4.0.0"
599606

607+
"@jest/types@^28.0.2":
608+
version "28.0.2"
609+
resolved "https://registry.yarnpkg.com/@jest/types/-/types-28.0.2.tgz#70b9538c1863fb060b2f438ca008b5563d00c5b4"
610+
integrity sha512-hi3jUdm9iht7I2yrV5C4s3ucCJHUP8Eh3W6rQ1s4n/Qw9rQgsda4eqCt+r3BKRi7klVmZfQlMx1nGlzNMP2d8A==
611+
dependencies:
612+
"@jest/schemas" "^28.0.2"
613+
"@types/istanbul-lib-coverage" "^2.0.0"
614+
"@types/istanbul-reports" "^3.0.0"
615+
"@types/node" "*"
616+
"@types/yargs" "^17.0.8"
617+
chalk "^4.0.0"
618+
600619
"@nodelib/[email protected]":
601620
version "2.1.5"
602621
resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5"
@@ -719,6 +738,11 @@
719738
dependencies:
720739
"@octokit/openapi-types" "^11.2.0"
721740

741+
"@sinclair/typebox@^0.23.3":
742+
version "0.23.4"
743+
resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.23.4.tgz#6ff93fd2585ce44f7481c9ff6af610fbb5de98a4"
744+
integrity sha512-0/WqSvpVbCBAV1yPeko7eAczKbs78dNVAaX14quVlwOb2wxfKuXCx91h4NrEfkYK9zEnyVSW4JVI/trP3iS+Qg==
745+
722746
"@sinonjs/commons@^1.7.0":
723747
version "1.8.3"
724748
resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.3.tgz#3802ddd21a50a949b6721ddd72da36e67e7f1b2d"
@@ -828,10 +852,10 @@
828852
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.9.tgz#97edc9037ea0c38585320b28964dde3b39e4660d"
829853
integrity sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==
830854

831-
"@types/node@*", "@types/node@^17.0.25":
832-
version "17.0.25"
833-
resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.25.tgz#527051f3c2f77aa52e5dc74e45a3da5fb2301448"
834-
integrity sha512-wANk6fBrUwdpY4isjWrKTufkrXdu1D2YHCot2fD/DfWxF5sMrVSA+KN7ydckvaTCh0HiqX9IVl0L5/ZoXg5M7w==
855+
"@types/node@*", "@types/node@^17.0.31":
856+
version "17.0.31"
857+
resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.31.tgz#a5bb84ecfa27eec5e1c802c6bbf8139bdb163a5d"
858+
integrity sha512-AR0x5HbXGqkEx9CadRH3EBYx/VkiUgZIhP4wvPn/+5KIsgpNoyFaRlVe0Zlx9gRtg8fA06a9tskE2MSN7TcG4Q==
835859

836860
"@types/prettier@^2.1.5":
837861
version "2.4.2"
@@ -880,6 +904,13 @@
880904
dependencies:
881905
"@types/yargs-parser" "*"
882906

907+
"@types/yargs@^17.0.8":
908+
version "17.0.10"
909+
resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.10.tgz#591522fce85d8739bca7b8bb90d048e4478d186a"
910+
integrity sha512-gmEaFwpj/7f/ROdtIlci1R1VYU1J4j95m8T+Tj3iBgiBFKg1foE/PSl93bBd5T9LDXNPo8UlNN6W0qwD8O5OaA==
911+
dependencies:
912+
"@types/yargs-parser" "*"
913+
883914
"@typescript-eslint/eslint-plugin@^4.33.0":
884915
version "4.33.0"
885916
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.33.0.tgz#c24dc7c8069c7706bc40d99f6fa87edcb2005276"
@@ -1086,10 +1117,10 @@ asynckit@^0.4.0:
10861117
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
10871118
integrity sha1-x57Zf380y48robyXkLzDZkdLS3k=
10881119

1089-
aws-sdk@^2.1116.0:
1090-
version "2.1116.0"
1091-
resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.1116.0.tgz#1187ab943e6bf730db282afe7950dd2af409cb5b"
1092-
integrity sha512-36JFrxPPh/fRQWsgGrZZbzTxRu7dq4KyCKKXPxgVMXylEJsG/KEAVMB1f3eq4PiI5eGxYrpt2OkKoMQZQZLjPA==
1120+
aws-sdk@^2.1126.0:
1121+
version "2.1126.0"
1122+
resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.1126.0.tgz#52e42358bdcba0043b6ff6b8e17d5aaacd9a93be"
1123+
integrity sha512-8yeeYFXOwbJIUHIJZlrcgWGvLPi+yayKc2h/+hnNLdnp/u+LUuJqMDH/19fogAai8PANSqI7N9fGkMIBZDrThQ==
10931124
dependencies:
10941125
buffer "4.9.2"
10951126
events "1.1.1"
@@ -1101,12 +1132,13 @@ aws-sdk@^2.1116.0:
11011132
uuid "3.3.2"
11021133
xml2js "0.4.19"
11031134

1104-
axios@^0.26.1:
1105-
version "0.26.1"
1106-
resolved "https://registry.yarnpkg.com/axios/-/axios-0.26.1.tgz#1ede41c51fcf51bbbd6fd43669caaa4f0495aaa9"
1107-
integrity sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==
1135+
axios@^0.27.2:
1136+
version "0.27.2"
1137+
resolved "https://registry.yarnpkg.com/axios/-/axios-0.27.2.tgz#207658cc8621606e586c85db4b41a750e756d972"
1138+
integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==
11081139
dependencies:
1109-
follow-redirects "^1.14.8"
1140+
follow-redirects "^1.14.9"
1141+
form-data "^4.0.0"
11101142

11111143
babel-jest@^27.5.1:
11121144
version "27.5.1"
@@ -1801,10 +1833,10 @@ flatted@^3.1.0:
18011833
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.4.tgz#28d9969ea90661b5134259f312ab6aa7929ac5e2"
18021834
integrity sha512-8/sOawo8tJ4QOBX8YlQBMxL8+RLZfxMQOif9o0KUKTNTjMYElWPE0r/m5VNFxTRd0NSw8qSy8dajrwX4RYI1Hw==
18031835

1804-
follow-redirects@^1.14.8:
1805-
version "1.14.8"
1806-
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.8.tgz#016996fb9a11a100566398b1c6839337d7bfa8fc"
1807-
integrity sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==
1836+
follow-redirects@^1.14.9:
1837+
version "1.15.0"
1838+
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.0.tgz#06441868281c86d0dda4ad8bdaead2d02dca89d4"
1839+
integrity sha512-aExlJShTV4qOUOL7yF1U5tvLCB0xQuudbf6toyYA0E/acBNw71mvjFTnLaRp50aQaYocMR0a/RMMBIHeZnGyjQ==
18081840

18091841
form-data@^2.5.0:
18101842
version "2.5.1"
@@ -1824,6 +1856,15 @@ form-data@^3.0.0:
18241856
combined-stream "^1.0.8"
18251857
mime-types "^2.1.12"
18261858

1859+
form-data@^4.0.0:
1860+
version "4.0.0"
1861+
resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452"
1862+
integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==
1863+
dependencies:
1864+
asynckit "^0.4.0"
1865+
combined-stream "^1.0.8"
1866+
mime-types "^2.1.12"
1867+
18271868
fs.realpath@^1.0.0:
18281869
version "1.0.0"
18291870
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
@@ -2371,6 +2412,14 @@ jest-mock@^27.5.1:
23712412
"@jest/types" "^27.5.1"
23722413
"@types/node" "*"
23732414

2415+
jest-mock@^28.0.2:
2416+
version "28.0.2"
2417+
resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-28.0.2.tgz#059b500b34c1dd76474ebcdeccc249fe4dd0249f"
2418+
integrity sha512-vfnJ4zXRB0i24jOTGtQJyl26JKsgBKtqRlCnsrORZbG06FToSSn33h2x/bmE8XxqxkLWdZBRo+/65l8Vi3nD+g==
2419+
dependencies:
2420+
"@jest/types" "^28.0.2"
2421+
"@types/node" "*"
2422+
23742423
jest-pnp-resolver@^1.2.2:
23752424
version "1.2.2"
23762425
resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz#b704ac0ae028a89108a4d040b3f919dfddc8e33c"
@@ -3474,10 +3523,10 @@ typedarray-to-buffer@^3.1.5:
34743523
dependencies:
34753524
is-typedarray "^1.0.0"
34763525

3477-
typescript@^4.6.3:
3478-
version "4.6.3"
3479-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.3.tgz#eefeafa6afdd31d725584c67a0eaba80f6fc6c6c"
3480-
integrity sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==
3526+
typescript@^4.6.4:
3527+
version "4.6.4"
3528+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.4.tgz#caa78bbc3a59e6a5c510d35703f6a09877ce45e9"
3529+
integrity sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg==
34813530

34823531
universal-user-agent@^6.0.0:
34833532
version "6.0.0"

modules/runners/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ yarn run dist
117117
| <a name="input_ami_owners"></a> [ami\_owners](#input\_ami\_owners) | The list of owners used to select the AMI of action runner instances. | `list(string)` | <pre>[<br> "amazon"<br>]</pre> | no |
118118
| <a name="input_aws_partition"></a> [aws\_partition](#input\_aws\_partition) | (optional) partition for the base arn if not 'aws' | `string` | `"aws"` | no |
119119
| <a name="input_aws_region"></a> [aws\_region](#input\_aws\_region) | AWS region. | `string` | n/a | yes |
120-
| <a name="input_block_device_mappings"></a> [block\_device\_mappings](#input\_block\_device\_mappings) | The EC2 instance block device configuration. Takes the following keys: `device_name`, `delete_on_termination`, `volume_type`, `volume_size`, `encrypted`, `iops` | <pre>list(object({<br> device_name = string<br> delete_on_termination = bool<br> volume_type = string<br> volume_size = number<br> encrypted = bool<br> iops = number<br> }))</pre> | `[]` | no |
120+
| <a name="input_block_device_mappings"></a> [block\_device\_mappings](#input\_block\_device\_mappings) | The EC2 instance block device configuration. Takes the following keys: `device_name`, `delete_on_termination`, `volume_type`, `volume_size`, `encrypted`, `iops` | <pre>list(object({<br> device_name = string<br> delete_on_termination = bool<br> volume_type = string<br> volume_size = number<br> encrypted = bool<br> iops = number<br> }))</pre> | <pre>[<br> {<br> "delete_on_termination": true,<br> "device_name": "/dev/xvd",<br> "encrypted": true,<br> "iops": null,<br> "volume_size": 30,<br> "volume_type": "gp3"<br> }<br>]</pre> | no |
121121
| <a name="input_cloudwatch_config"></a> [cloudwatch\_config](#input\_cloudwatch\_config) | (optional) Replaces the module default cloudwatch log config. See https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-Configuration-File-Details.html for details. | `string` | `null` | no |
122122
| <a name="input_create_service_linked_role_spot"></a> [create\_service\_linked\_role\_spot](#input\_create\_service\_linked\_role\_spot) | (optional) create the service linked role for spot instances that is required by the scale-up lambda. | `bool` | `false` | no |
123123
| <a name="input_disable_runner_autoupdate"></a> [disable\_runner\_autoupdate](#input\_disable\_runner\_autoupdate) | Disable the auto update of the github runner agent. Be-aware there is a grace period of 30 days, see also the [GitHub article](https://github.blog/changelog/2022-02-01-github-actions-self-hosted-runners-can-now-disable-automatic-updates/) | `bool` | `false` | no |
@@ -186,7 +186,7 @@ yarn run dist
186186
| <a name="input_userdata_post_install"></a> [userdata\_post\_install](#input\_userdata\_post\_install) | User-data script snippet to insert after GitHub action runner install | `string` | `""` | no |
187187
| <a name="input_userdata_pre_install"></a> [userdata\_pre\_install](#input\_userdata\_pre\_install) | User-data script snippet to insert before GitHub action runner install | `string` | `""` | no |
188188
| <a name="input_userdata_template"></a> [userdata\_template](#input\_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 |
189-
| <a name="input_volume_size"></a> [volume\_size](#input\_volume\_size) | Size of runner volume | `number` | `30` | no |
189+
| <a name="input_volume_size"></a> [volume\_size](#input\_volume\_size) | (Deprecaated, use block\_device\_mappings. Size of runner volume, if set it overrides the value provide via block\_device\_mappings. | `number` | `null` | no |
190190
| <a name="input_vpc_id"></a> [vpc\_id](#input\_vpc\_id) | The VPC for the security groups. | `string` | n/a | yes |
191191

192192
## Outputs
@@ -196,6 +196,7 @@ yarn run dist
196196
| <a name="output_lambda_scale_down"></a> [lambda\_scale\_down](#output\_lambda\_scale\_down) | n/a |
197197
| <a name="output_lambda_scale_up"></a> [lambda\_scale\_up](#output\_lambda\_scale\_up) | n/a |
198198
| <a name="output_launch_template"></a> [launch\_template](#output\_launch\_template) | n/a |
199+
| <a name="output_role_pool"></a> [role\_pool](#output\_role\_pool) | n/a |
199200
| <a name="output_role_runner"></a> [role\_runner](#output\_role\_runner) | n/a |
200201
| <a name="output_role_scale_down"></a> [role\_scale\_down](#output\_role\_scale\_down) | n/a |
201202
| <a name="output_role_scale_up"></a> [role\_scale\_up](#output\_role\_scale\_up) | n/a |

modules/runners/lambdas/runners/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@
1717
},
1818
"devDependencies": {
1919
"@trivago/prettier-plugin-sort-imports": "^3.2.0",
20-
"@types/aws-lambda": "^8.10.93",
20+
"@types/aws-lambda": "^8.10.95",
2121
"@types/express": "^4.17.11",
22-
"@types/jest": "^27.4.1",
22+
"@types/jest": "^27.5.0",
2323
"@typescript-eslint/eslint-plugin": "^4.33.0",
2424
"@typescript-eslint/parser": "^4.33.0",
2525
"@vercel/ncc": "^0.33.4",
2626
"eslint": "^7.32.0",
2727
"eslint-plugin-prettier": "4.0.0",
2828
"jest": "27.5.1",
29-
"jest-mock": "^27.5.1",
29+
"jest-mock": "^28.0.2",
3030
"jest-mock-extended": "^2.0.5",
3131
"moment-timezone": "^0.5.34",
3232
"nock": "^13.2.4",
@@ -36,16 +36,16 @@
3636
"ts-node-dev": "^1.1.6"
3737
},
3838
"dependencies": {
39-
"@aws-sdk/client-ssm": "^3.74.0",
39+
"@aws-sdk/client-ssm": "^3.82.0",
4040
"@octokit/auth-app": "3.6.1",
4141
"@octokit/rest": "^18.12.0",
4242
"@octokit/types": "^6.34.0",
43-
"@types/aws-lambda": "^8.10.93",
43+
"@types/aws-lambda": "^8.10.95",
4444
"@types/express": "^4.17.11",
45-
"@types/node": "^17.0.26",
46-
"aws-sdk": "^2.1116.0",
47-
"cron-parser": "^4.3.0",
45+
"@types/node": "^17.0.31",
46+
"aws-sdk": "^2.1127.0",
47+
"cron-parser": "^4.4.0",
4848
"tslog": "^3.3.3",
49-
"typescript": "^4.6.3"
49+
"typescript": "^4.6.4"
5050
}
5151
}

0 commit comments

Comments
 (0)