Skip to content

Commit cd53ad5

Browse files
authored
Merge branch 'main' into update-readme-after-migration
2 parents df24e34 + 5db6c1b commit cd53ad5

37 files changed

Lines changed: 1128 additions & 1069 deletions

.github/workflows/lambda.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Build distribution
4747
run: yarn build
4848
- name: Upload coverage report
49-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
49+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
5050
if: ${{ failure() }}
5151
with:
5252
name: coverage-reports
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
mkdocs-material==9.7.0
1+
mkdocs-material==9.7.1

.github/workflows/mkdocs/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,9 @@ mkdocs-get-deps==0.2.0 \
223223
--hash=sha256:162b3d129c7fad9b19abfdcb9c1458a651628e4b1dea628ac68790fb3061c60c \
224224
--hash=sha256:2bf11d0b133e77a0dd036abeeb06dec8775e46efa526dc70667d8863eefc6134
225225
# via mkdocs
226-
mkdocs-material==9.7.0 \
227-
--hash=sha256:602b359844e906ee402b7ed9640340cf8a474420d02d8891451733b6b02314ec \
228-
--hash=sha256:da2866ea53601125ff5baa8aa06404c6e07af3c5ce3d5de95e3b52b80b442887
226+
mkdocs-material==9.7.1 \
227+
--hash=sha256:3f6100937d7d731f87f1e3e3b021c97f7239666b9ba1151ab476cabb96c60d5c \
228+
--hash=sha256:89601b8f2c3e6c6ee0a918cc3566cb201d40bf37c3cd3c2067e26fadb8cce2b8
229229
# via -r requirements.in
230230
mkdocs-material-extensions==1.3.1 \
231231
--hash=sha256:10c9511cea88f568257f960358a467d12b970e1f7b2c0e5fb2bb48cab1928443 \

.github/workflows/ossf-scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
4545
# format to the repository Actions tab.
4646
- name: "Upload artifact"
47-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
47+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
4848
with:
4949
name: SARIF file
5050
path: results.sarif

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- name: Attest
5959
if: ${{ steps.release.outputs.releases_created == 'true' }}
6060
id: attest
61-
uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
61+
uses: actions/attest-build-provenance@00014ed6ed5efc5b1ab7f7f34a39eb55d41aa4f8 # v3.1.0
6262
with:
6363
subject-path: '${{ github.workspace }}/lambdas/functions/**/*.zip'
6464
- name: Update release notes with attestation

.github/workflows/terraform.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
run: apk add --no-cache tar
5858
continue-on-error: true
5959
- if: contains(matrix.terraform, '1.5.')
60-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
60+
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
6161
name: Cache TFLint plugin dir
6262
with:
6363
path: ~/.tflint.d/plugins
@@ -123,7 +123,7 @@ jobs:
123123
run: apk add --no-cache tar
124124
continue-on-error: true
125125
- if: contains(matrix.terraform, '1.3.')
126-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
126+
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
127127
name: Cache TFLint plugin dir
128128
with:
129129
path: ~/.tflint.d/plugins
@@ -188,7 +188,7 @@ jobs:
188188
run: apk add --no-cache tar
189189
continue-on-error: true
190190
- if: contains(matrix.terraform, '1.5.')
191-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
191+
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
192192
name: Cache TFLint plugin dir
193193
with:
194194
path: ~/.tflint.d/plugins

.github/workflows/update-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
# change docs via PR in case of locked main branch
5555
- name: Create Pull Request (main branch only)
5656
if: github.ref == 'refs/heads/main' && github.repository_owner == 'github-aws-runners'
57-
uses: peter-evans/create-pull-request@84ae59a2cdc2258d6fa0732dd66352dddae2a412 # v7.0.9
57+
uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 # v8.0.0
5858
with:
5959
token: ${{ secrets.GITHUB_TOKEN }}
6060
commit-message: "docs: auto update terraform docs"
@@ -87,7 +87,7 @@ jobs:
8787
with:
8888
python-version: 3.x
8989
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
90-
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
90+
- uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
9191
with:
9292
key: mkdocs-material-${{ env.cache_id }}
9393
path: .cache

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ Join our discord community via [this invite link](https://discord.gg/bxgXW8jJGh)
213213
| <a name="input_runners_scale_up_lambda_timeout"></a> [runners\_scale\_up\_lambda\_timeout](#input\_runners\_scale\_up\_lambda\_timeout) | Time out for the scale up lambda in seconds. | `number` | `30` | no |
214214
| <a name="input_runners_ssm_housekeeper"></a> [runners\_ssm\_housekeeper](#input\_runners\_ssm\_housekeeper) | Configuration for the SSM housekeeper lambda. This lambda deletes token / JIT config from SSM.<br/><br/> `schedule_expression`: is used to configure the schedule for the lambda.<br/> `enabled`: enable or disable the lambda trigger via the EventBridge.<br/> `lambda_memory_size`: lambda memory size limit.<br/> `lambda_timeout`: timeout for the lambda in seconds.<br/> `config`: configuration for the lambda function. Token path will be read by default from the module. | <pre>object({<br/> schedule_expression = optional(string, "rate(1 day)")<br/> enabled = optional(bool, true)<br/> lambda_memory_size = optional(number, 512)<br/> lambda_timeout = optional(number, 60)<br/> config = object({<br/> tokenPath = optional(string)<br/> minimumDaysOld = optional(number, 1)<br/> dryRun = optional(bool, false)<br/> })<br/> })</pre> | <pre>{<br/> "config": {}<br/>}</pre> | no |
215215
| <a name="input_scale_down_schedule_expression"></a> [scale\_down\_schedule\_expression](#input\_scale\_down\_schedule\_expression) | Scheduler expression to check every x for scale down. | `string` | `"cron(*/5 * * * ? *)"` | no |
216+
| <a name="input_scale_errors"></a> [scale\_errors](#input\_scale\_errors) | List of aws error codes that should trigger retry during scale up. This list will replace the default errors defined in the variable `defaultScaleErrors` in https://github.com/github-aws-runners/terraform-aws-github-runner/blob/main/lambdas/functions/control-plane/src/aws/runners.ts | `list(string)` | <pre>[<br/> "UnfulfillableCapacity",<br/> "MaxSpotInstanceCountExceeded",<br/> "TargetCapacityLimitExceededException",<br/> "RequestLimitExceeded",<br/> "ResourceLimitExceeded",<br/> "MaxSpotInstanceCountExceeded",<br/> "MaxSpotFleetRequestCountExceeded",<br/> "InsufficientInstanceCapacity",<br/> "InsufficientCapacityOnHost"<br/>]</pre> | no |
216217
| <a name="input_scale_up_reserved_concurrent_executions"></a> [scale\_up\_reserved\_concurrent\_executions](#input\_scale\_up\_reserved\_concurrent\_executions) | Amount of reserved concurrent executions for the scale-up lambda function. A value of 0 disables lambda from being triggered and -1 removes any concurrency limitations. | `number` | `1` | no |
217218
| <a name="input_ssm_paths"></a> [ssm\_paths](#input\_ssm\_paths) | The root path used in SSM to store configuration and secrets. | <pre>object({<br/> root = optional(string, "github-action-runners")<br/> app = optional(string, "app")<br/> runners = optional(string, "runners")<br/> webhook = optional(string, "webhook")<br/> use_prefix = optional(bool, true)<br/> })</pre> | `{}` | no |
218219
| <a name="input_state_event_rule_binaries_syncer"></a> [state\_event\_rule\_binaries\_syncer](#input\_state\_event\_rule\_binaries\_syncer) | Option to disable EventBridge Lambda trigger for the binary syncer, useful to stop automatic updates of binary distribution | `string` | `"ENABLED"` | no |

lambdas/functions/ami-housekeeper/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"all": "yarn build && yarn format && yarn lint && yarn test"
1818
},
1919
"devDependencies": {
20-
"@aws-sdk/types": "^3.936.0",
20+
"@aws-sdk/types": "^3.953.0",
2121
"@types/aws-lambda": "^8.10.155",
2222
"@vercel/ncc": "^0.38.4",
2323
"aws-sdk-client-mock": "^4.1.0",
@@ -26,8 +26,8 @@
2626
"dependencies": {
2727
"@aws-github-runner/aws-powertools-util": "*",
2828
"@aws-github-runner/aws-ssm-util": "*",
29-
"@aws-sdk/client-ec2": "^3.948.0",
30-
"@aws-sdk/client-ssm": "^3.948.0",
29+
"@aws-sdk/client-ec2": "^3.953.0",
30+
"@aws-sdk/client-ssm": "^3.953.0",
3131
"cron-parser": "^5.4.0"
3232
},
3333
"nx": {

lambdas/functions/control-plane/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"all": "yarn build && yarn format && yarn lint && yarn test"
1818
},
1919
"devDependencies": {
20-
"@aws-sdk/types": "^3.936.0",
20+
"@aws-sdk/types": "^3.953.0",
2121
"@octokit/types": "^16.0.0",
2222
"@types/aws-lambda": "^8.10.155",
2323
"@types/node": "^22.19.0",
@@ -32,9 +32,9 @@
3232
"dependencies": {
3333
"@aws-github-runner/aws-powertools-util": "*",
3434
"@aws-github-runner/aws-ssm-util": "*",
35-
"@aws-lambda-powertools/parameters": "^2.29.0",
36-
"@aws-sdk/client-ec2": "^3.948.0",
37-
"@aws-sdk/client-sqs": "^3.948.0",
35+
"@aws-lambda-powertools/parameters": "^2.30.0",
36+
"@aws-sdk/client-ec2": "^3.953.0",
37+
"@aws-sdk/client-sqs": "^3.953.0",
3838
"@middy/core": "^6.4.5",
3939
"@octokit/auth-app": "8.1.2",
4040
"@octokit/core": "7.0.6",

0 commit comments

Comments
 (0)