Skip to content

Commit 7af0ad6

Browse files
fix: add node 22 lts, #fixes 3837 (#3841)
Co-authored-by: Kevin DeJong <[email protected]>
1 parent d2ca335 commit 7af0ad6

7 files changed

+7
-7
lines changed

test/fixtures/templates/good/resources/lambda/required_properties.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Resources:
1919
ZipFile: |
2020
import { LambdaClient } from '@aws-sdk/client-lambda';
2121
exports.handler = function(event, context) {}
22-
Runtime: nodejs20.x
22+
Runtime: nodejs22.x
2323
Function3: # image deployment
2424
Type: AWS::Lambda::Function
2525
Properties:

test/fixtures/templates/good/transform.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Resources:
66
Type: AWS::Serverless::Function
77
Properties:
88
Handler: index.handler
9-
Runtime: nodejs20.x
9+
Runtime: nodejs22.x
1010
CodeUri: 's3://testBucket/mySourceCode.zip'
1111
ExampleLayer:
1212
Type: AWS::Serverless::LayerVersion

test/fixtures/templates/good/transform/function_use_s3_uri.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Resources:
1818
Properties:
1919
FunctionName: !Sub "my-custom-authorizer-${AWS::Region}"
2020
Description: Custom authorizer for APIGW
21-
Runtime: nodejs20.x
21+
Runtime: nodejs22.x
2222
Handler: index.handler
2323
CodeUri: !Sub "s3://custom-authz-${AWS::AccountId}-${AWS::Region}/function-v1.0.zip"
2424
Policies:

test/fixtures/templates/good/transform/function_using_image.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ Resources:
66
Properties:
77
PackageType: Image
88
Metadata:
9-
DockerTag: nodejs20.x-v1
9+
DockerTag: nodejs22.x-v1
1010
DockerContext: ./hello-world
1111
Dockerfile: Dockerfile

test/fixtures/templates/good/transform/list_transform_many.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Transform:
55
Globals:
66
Function:
77
Timeout: 3
8-
Runtime: nodejs20.x
8+
Runtime: nodejs22.x
99
Environment:
1010
Variables:
1111
VARIABLE: VALUE

test/fixtures/templates/good/transform_serverless_api.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Resources:
66
Type: AWS::Serverless::Function
77
Properties:
88
Handler: index.handler
9-
Runtime: nodejs20.x
9+
Runtime: nodejs22.x
1010
CodeUri: 's3://testBucket/mySourceCode.zip'
1111
AutoPublishAlias: live
1212
DeploymentPreference:

test/fixtures/templates/good/transform_serverless_function.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Resources:
1010
Type: AWS::Serverless::Function
1111
Properties:
1212
Handler: index.handler
13-
Runtime: nodejs20.x
13+
Runtime: nodejs22.x
1414
CodeUri: 's3://testBucket/mySourceCode.zip'
1515
AutoPublishAlias: live
1616
DeploymentPreference:

0 commit comments

Comments
 (0)