Skip to content

Upgrade the Nodejs 16.x Runtime version to Nodejs 18.x #621

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions cloudformation/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,7 @@ Resources:
Description: 'Common code used by lambdas'
ContentUri: ../lambdas/common-layer/
CompatibleRuntimes:
- nodejs16.x
- nodejs18.x

DevPortalLambdaFunction:
Type: AWS::Serverless::Function
Expand All @@ -1236,7 +1236,7 @@ Resources:
Handler: index.handler
MemorySize: 1024
Role: !GetAtt BackendLambdaExecutionRole.Arn
Runtime: nodejs16.x
Runtime: nodejs18.x
Timeout: 30
Environment:
Variables:
Expand Down Expand Up @@ -1279,7 +1279,7 @@ Resources:
# Handler: index.handler
# MemorySize: 128
# Role: !GetAtt BackendLambdaExecutionRole.Arn
# Runtime: nodejs16.x
# Runtime: nodejs18.x
# Timeout: 30
# Layers:
# - !Ref LambdaCommonLayer
Expand All @@ -1292,7 +1292,7 @@ Resources:
Handler: index.handler
MemorySize: 128
Role: !GetAtt CognitoPreSignupTriggerExecutionRole.Arn
Runtime: nodejs16.x
Runtime: nodejs18.x
Timeout: 3
Environment:
Variables:
Expand All @@ -1308,7 +1308,7 @@ Resources:
Handler: index.handler
MemorySize: 128
Role: !GetAtt CognitoPostConfirmationTriggerExecutionRole.Arn
Runtime: nodejs16.x
Runtime: nodejs18.x
Timeout: 3
Environment:
Variables:
Expand All @@ -1326,7 +1326,7 @@ Resources:
Handler: index.handler
MemorySize: 128
Role: !GetAtt CognitoPostAuthenticationTriggerExecutionRole.Arn
Runtime: nodejs16.x
Runtime: nodejs18.x
Timeout: 3
Environment:
Variables:
Expand Down Expand Up @@ -1455,7 +1455,7 @@ Resources:
CognitoUserPoolClientSettingsBackingFn:
Type: AWS::Serverless::Function
Properties:
Runtime: nodejs16.x
Runtime: nodejs18.x
MemorySize: 128
Timeout: 300
CodeUri: ../lambdas/cfn-cognito-user-pools-client-settings
Expand Down Expand Up @@ -1539,7 +1539,7 @@ Resources:
CognitoUserPoolDomainBackingFn:
Type: AWS::Serverless::Function
Properties:
Runtime: nodejs16.x
Runtime: nodejs18.x
MemorySize: 128
Timeout: 300
CodeUri: ../lambdas/cfn-cognito-user-pools-domain
Expand Down Expand Up @@ -1710,7 +1710,7 @@ Resources:
Handler: index.handler
MemorySize: 128
Role: !GetAtt CatalogUpdaterLambdaExecutionRole.Arn
Runtime: nodejs16.x
Runtime: nodejs18.x
Timeout: 20
Environment:
Variables:
Expand All @@ -1735,7 +1735,7 @@ Resources:
Handler: index.handler
MemorySize: 512
Role: !GetAtt AssetUploaderLambdaExecutionRole.Arn
Runtime: nodejs16.x
Runtime: nodejs18.x
Timeout: 300
Environment:
Variables:
Expand Down Expand Up @@ -1789,7 +1789,7 @@ Resources:
Handler: replicator.handler
MemorySize: 128
Role: !GetAtt CloudFrontEdgeReplicatorRole.Arn
Runtime: nodejs16.x
Runtime: nodejs18.x
Timeout: 300
AutoPublishAlias: Live
Environment:
Expand Down Expand Up @@ -1958,7 +1958,7 @@ Resources:
Handler: index.handler
MemorySize: 512
Role: !GetAtt DumpV3AccountDataExecutionRole.Arn
Runtime: nodejs16.x
Runtime: nodejs18.x
Timeout: 300
Environment:
Variables:
Expand Down Expand Up @@ -2068,7 +2068,7 @@ Resources:
Handler: index.handler
MemorySize: 512
Role: !GetAtt UserGroupImporterExecutionRole.Arn
Runtime: nodejs16.x
Runtime: nodejs18.x
# Use the default max timeout duration.
Timeout: 900
Environment:
Expand Down