Skip to content

Commit

Permalink
fix: add node 22 lts, #fixes 3837 (#3841)
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin DeJong <kddejong@amazon.com>
  • Loading branch information
JamesKyburz and kddejong authored Nov 26, 2024
1 parent d2ca335 commit 7af0ad6
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Resources:
ZipFile: |
import { LambdaClient } from '@aws-sdk/client-lambda';
exports.handler = function(event, context) {}
Runtime: nodejs20.x
Runtime: nodejs22.x
Function3: # image deployment
Type: AWS::Lambda::Function
Properties:
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/templates/good/transform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: index.handler
Runtime: nodejs20.x
Runtime: nodejs22.x
CodeUri: 's3://testBucket/mySourceCode.zip'
ExampleLayer:
Type: AWS::Serverless::LayerVersion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Resources:
Properties:
FunctionName: !Sub "my-custom-authorizer-${AWS::Region}"
Description: Custom authorizer for APIGW
Runtime: nodejs20.x
Runtime: nodejs22.x
Handler: index.handler
CodeUri: !Sub "s3://custom-authz-${AWS::AccountId}-${AWS::Region}/function-v1.0.zip"
Policies:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ Resources:
Properties:
PackageType: Image
Metadata:
DockerTag: nodejs20.x-v1
DockerTag: nodejs22.x-v1
DockerContext: ./hello-world
Dockerfile: Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Transform:
Globals:
Function:
Timeout: 3
Runtime: nodejs20.x
Runtime: nodejs22.x
Environment:
Variables:
VARIABLE: VALUE
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/templates/good/transform_serverless_api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: index.handler
Runtime: nodejs20.x
Runtime: nodejs22.x
CodeUri: 's3://testBucket/mySourceCode.zip'
AutoPublishAlias: live
DeploymentPreference:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: index.handler
Runtime: nodejs20.x
Runtime: nodejs22.x
CodeUri: 's3://testBucket/mySourceCode.zip'
AutoPublishAlias: live
DeploymentPreference:
Expand Down

0 comments on commit 7af0ad6

Please sign in to comment.