Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit 02dd3e6

Browse files
feat: upgrade lambda runtime from 18x to 20x (#3682)
## Description This PR upgrades the node runtime to the latest LTS version on AWS. ## Migration - Ensure your AWS provider is supporting nodejs20x ## Updates - Examples - CI - All dependencies bumped except middy/core see #3681 ## Test - [x] multi-runner - [x] ephemeral with enabled pool close: #3645 --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 3c78f65 commit 02dd3e6

File tree

31 files changed

+493
-504
lines changed

31 files changed

+493
-504
lines changed

Diff for: .ci/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#syntax=docker/dockerfile:1.2
2-
FROM node:18 as build
2+
FROM node:20 as build
33
WORKDIR /lambdas
44
RUN apt-get update \
55
&& apt-get install -y zip \

Diff for: .devcontainer/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
ARG VARIANT="18-bullseye"
1+
ARG VARIANT="20-bullseye"
22
FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-${VARIANT}

Diff for: .github/workflows/lambda.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
node: [18]
14+
node: [20]
1515
container:
1616
image: node:${{ matrix.node }}
1717
defaults:

Diff for: .github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
steps:
1717
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
1818
with:
19-
node-version: 18
19+
node-version: 20
2020
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4
2121
- name: Build dist
2222
working-directory: lambdas
23-
run: yarn install && yarn run test && yarn dist
23+
run: yarn install --frozen-lockfile && yarn run test && yarn dist
2424
- name: Get installation token
2525
uses: philips-software/app-token-action@a37926571e4cec6f219e06727136efdd073d8657 # ratchet:philips-software/[email protected]
2626
id: token

Diff for: examples/arm64/.terraform.lock.hcl

+20-20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: examples/arm64/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ terraform output -raw webhook_secret
4242

4343
| Name | Version |
4444
|------|---------|
45-
| <a name="provider_random"></a> [random](#provider\_random) | 3.5.1 |
45+
| <a name="provider_random"></a> [random](#provider\_random) | 3.6.0 |
4646

4747
## Modules
4848

Diff for: examples/default/.terraform.lock.hcl

+20-20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: examples/default/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ terraform output -raw webhook_secret
4242

4343
| Name | Version |
4444
|------|---------|
45-
| <a name="provider_random"></a> [random](#provider\_random) | 3.5.1 |
45+
| <a name="provider_random"></a> [random](#provider\_random) | 3.6.0 |
4646

4747
## Modules
4848

Diff for: examples/ephemeral/.terraform.lock.hcl

+20-20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: examples/ephemeral/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ terraform output webhook_secret
4141

4242
| Name | Version |
4343
|------|---------|
44-
| <a name="provider_random"></a> [random](#provider\_random) | 3.5.1 |
44+
| <a name="provider_random"></a> [random](#provider\_random) | 3.6.0 |
4545

4646
## Modules
4747

Diff for: examples/lambdas-download/.terraform.lock.hcl

+18-18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)