Skip to content

Commit

Permalink
feat: upgrade Lambda functions runtime to Node 20
Browse files Browse the repository at this point in the history
BREAKING CHANGE: use node 20
  • Loading branch information
sshelomentsev committed Feb 26, 2024
1 parent c884027 commit 2818c30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cloudformation/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Resources:
Description: Lambda@Edge function definition
FunctionName: !Join ['-', ['fingerprint-pro-cloudfront-lambda', !Select [4, !Split ['-', !Select [2, !Split ['/', !Ref AWS::StackId]]]]]]
Handler: fingerprintjs-pro-cloudfront-lambda-function.handler
Runtime: nodejs16.x
Runtime: nodejs20.x
CodeUri: s3://fingerprint-pro-cloudfront-integration-lambda-function/release/lambda_latest.zip
MemorySize: 128
Timeout: 3
Expand Down Expand Up @@ -332,7 +332,7 @@ Resources:
Properties:
FunctionName: !Join ['-', ['fingerprint-pro-mgmt-lambda', !Select [4, !Split ['-', !Select [2, !Split ['/', !Ref AWS::StackId]]]]]]
Handler: fingerprintjs-pro-cloudfront-mgmt-lambda-function.handler
Runtime: nodejs18.x
Runtime: nodejs20.x
CodeUri: s3://fingerprint-pro-cloudfront-integration-lambda-function/release/mgmt_lambda_latest.zip
MemorySize: 128
Timeout: 120
Expand Down

0 comments on commit 2818c30

Please sign in to comment.