From 4295b50997d2db4a3e7868e156be7d109b73b7a6 Mon Sep 17 00:00:00 2001 From: ozuiev <66881288+ozuiev@users.noreply.github.com> Date: Wed, 14 Jun 2023 16:08:32 -0400 Subject: [PATCH] Upgrade the Nodejs 16.x Runtime version to Nodejs 18.x --- cloudformation/template.yaml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/cloudformation/template.yaml b/cloudformation/template.yaml index a1eb00545..7e0d50cb7 100644 --- a/cloudformation/template.yaml +++ b/cloudformation/template.yaml @@ -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 @@ -1236,7 +1236,7 @@ Resources: Handler: index.handler MemorySize: 1024 Role: !GetAtt BackendLambdaExecutionRole.Arn - Runtime: nodejs16.x + Runtime: nodejs18.x Timeout: 30 Environment: Variables: @@ -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 @@ -1292,7 +1292,7 @@ Resources: Handler: index.handler MemorySize: 128 Role: !GetAtt CognitoPreSignupTriggerExecutionRole.Arn - Runtime: nodejs16.x + Runtime: nodejs18.x Timeout: 3 Environment: Variables: @@ -1308,7 +1308,7 @@ Resources: Handler: index.handler MemorySize: 128 Role: !GetAtt CognitoPostConfirmationTriggerExecutionRole.Arn - Runtime: nodejs16.x + Runtime: nodejs18.x Timeout: 3 Environment: Variables: @@ -1326,7 +1326,7 @@ Resources: Handler: index.handler MemorySize: 128 Role: !GetAtt CognitoPostAuthenticationTriggerExecutionRole.Arn - Runtime: nodejs16.x + Runtime: nodejs18.x Timeout: 3 Environment: Variables: @@ -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 @@ -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 @@ -1710,7 +1710,7 @@ Resources: Handler: index.handler MemorySize: 128 Role: !GetAtt CatalogUpdaterLambdaExecutionRole.Arn - Runtime: nodejs16.x + Runtime: nodejs18.x Timeout: 20 Environment: Variables: @@ -1735,7 +1735,7 @@ Resources: Handler: index.handler MemorySize: 512 Role: !GetAtt AssetUploaderLambdaExecutionRole.Arn - Runtime: nodejs16.x + Runtime: nodejs18.x Timeout: 300 Environment: Variables: @@ -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: @@ -1958,7 +1958,7 @@ Resources: Handler: index.handler MemorySize: 512 Role: !GetAtt DumpV3AccountDataExecutionRole.Arn - Runtime: nodejs16.x + Runtime: nodejs18.x Timeout: 300 Environment: Variables: @@ -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: