Skip to content

Commit

Permalink
upgrade nodejs to 20.x
Browse files Browse the repository at this point in the history
  • Loading branch information
dengmingtong committed Feb 15, 2024
1 parent edec171 commit 7cfedf9
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 52 deletions.
52 changes: 26 additions & 26 deletions deployment/video-transcriber-deplo-cn.template
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ Resources:
Handler: extractaudio.handler
MemorySize: 2048
Role: !GetAtt 'MediaConvertForLambdaRole.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 600
Description: Uses Media Convert to extract MP3 audio from input videos
Environment:
Expand Down Expand Up @@ -201,7 +201,7 @@ Resources:
Handler: batchcomplete.handler
MemorySize: 2048
Role: !GetAtt 'CommonRoleForLambda.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 900
Description: Move captions files and burned video to specific s3 path
Environment:
Expand Down Expand Up @@ -232,7 +232,7 @@ Resources:
Handler: lambda/transcribeaudio.handler
MemorySize: 512
Role: !GetAtt 'TranscribeRole.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 15
Description: Uses Transcribe to extract text from audio
Environment:
Expand Down Expand Up @@ -270,7 +270,7 @@ Resources:
Handler: lambda/createcaptions.handler
MemorySize: 512
Role: !GetAtt 'CommonRoleForLambda.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 60
Description: Creates captions for videos from transcription results
Environment:
Expand Down Expand Up @@ -304,7 +304,7 @@ Resources:
Handler: lambda/getvideos.handler
MemorySize: 128
Role: !GetAtt 'CommonRoleForLambda.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 29
Description: Loads videos from DynamoDB
Environment:
Expand All @@ -331,7 +331,7 @@ Resources:
Handler: lambda/getvideo.handler
MemorySize: 128
Role: !GetAtt 'CommonRoleForLambda.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 29
Description: Loads a single video from DynamoDB
Environment:
Expand Down Expand Up @@ -370,7 +370,7 @@ Resources:
Handler: lambda/updatevideolanguage.handler
MemorySize: 128
Role: !GetAtt 'TranscribeRole.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 29
Description: Updates the language of a video in DynamoDB
Environment:
Expand All @@ -396,7 +396,7 @@ Resources:
Handler: lambda/updatevideostatus.handler
MemorySize: 128
Role: !GetAtt 'CommonRoleForLambda.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 29
Description: Updates the status of a video in DynamoDB
Environment:
Expand All @@ -422,7 +422,7 @@ Resources:
Handler: lambda/updatevideoname.handler
MemorySize: 128
Role: !GetAtt 'CommonRoleForLambda.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 29
Description: Updates the name of a video in DynamoDB
Environment:
Expand All @@ -448,7 +448,7 @@ Resources:
Handler: lambda/updatevideodescription.handler
MemorySize: 128
Role: !GetAtt 'CommonRoleForLambda.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 29
Description: Updates the description of a video in DynamoDB
Environment:
Expand All @@ -474,7 +474,7 @@ Resources:
Handler: lambda/deletevideo.handler
MemorySize: 128
Role: !GetAtt 'CommonRoleForLambda.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 29
Description: Purges a single video from the system
Environment:
Expand Down Expand Up @@ -514,7 +514,7 @@ Resources:
Handler: lambda/reprocessvideo.handler
MemorySize: 128
Role: !GetAtt 'InvokeLambdaRole.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 29
Description: Reprocesses a video
Environment:
Expand Down Expand Up @@ -554,7 +554,7 @@ Resources:
Handler: lambda/getupload.handler
MemorySize: 128
Role: !GetAtt 'CommonRoleForLambda.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 29
Description: Fetches a signed URL for uploading video into S3
Environment:
Expand Down Expand Up @@ -585,7 +585,7 @@ Resources:
Handler: lambda/putcaption.handler
MemorySize: 128
Role: !GetAtt 'CommonRoleForLambda.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 29
Description: Saves captions to DynamoDB
Environment:
Expand Down Expand Up @@ -617,7 +617,7 @@ Resources:
Handler: lambda/burncaption.handler
MemorySize: 2048
Role: !GetAtt 'MediaConvertForLambdaRole.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 900
Description: Burn captions to uploaded video
Environment:
Expand Down Expand Up @@ -672,7 +672,7 @@ Resources:
Handler: lambda/getcaption.handler
MemorySize: 128
Role: !GetAtt 'CommonRoleForLambda.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 29
Description: Fetches captions in WEBVTT format
Environment:
Expand All @@ -699,7 +699,7 @@ Resources:
Handler: lambda/getvocabulary.handler
MemorySize: 128
Role: !GetAtt 'CommonRoleForLambda.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 29
Description: Loads vocabulary from DynamoDB
Environment:
Expand Down Expand Up @@ -730,7 +730,7 @@ Resources:
Handler: lambda/headvocabulary.handler
MemorySize: 128
Role: !GetAtt 'TranscribeRole.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 29
Description: Checks if vocabulary is ready to save
Environment:
Expand Down Expand Up @@ -759,7 +759,7 @@ Resources:
Handler: lambda/putvocabulary.handler
MemorySize: 128
Role: !GetAtt 'TranscribeRole.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 29
Description: Saves vocabulary to DynamoDB
Environment:
Expand Down Expand Up @@ -790,7 +790,7 @@ Resources:
Handler: lambda/gettweaks.handler
MemorySize: 128
Role: !GetAtt 'CommonRoleForLambda.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 29
Description: Loads tweaks from DynamoDB
Environment:
Expand All @@ -816,7 +816,7 @@ Resources:
Handler: lambda/puttweaks.handler
MemorySize: 128
Role: !GetAtt 'CommonRoleForLambda.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 29
Description: Saves tweaks to DynamoDB
Environment:
Expand All @@ -842,7 +842,7 @@ Resources:
Handler: lambda/putlanguage.handler
MemorySize: 128
Role: !GetAtt 'CommonRoleForLambda.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 29
Description: Saves tweaks to DynamoDB
Environment:
Expand Down Expand Up @@ -874,7 +874,7 @@ Resources:
Handler: lambda/translatecaptions.handler
MemorySize: 128
Role: !GetAtt 'TranslateRole.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 890
Description: Translate captions
Environment:
Expand Down Expand Up @@ -906,7 +906,7 @@ Resources:
Handler: lambda/getburnedvideo.handler
MemorySize: 128
Role: !GetAtt 'CommonRoleForLambda.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 600
Description: Get burned video signUrl
Environment:
Expand Down Expand Up @@ -938,7 +938,7 @@ Resources:
Handler: lambda/updateburnedvideopath.handler
MemorySize: 128
Role: !GetAtt 'CommonRoleForLambda.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 29
Description: update burned video s3 path to DDB
Environment:
Expand All @@ -964,7 +964,7 @@ Resources:
Handler: lambda/customresource.handler
MemorySize: 128
Role: !GetAtt 'CustomerResourceRole.Arn'
Runtime: nodejs14.x
Runtime: nodejs20.x
Timeout: 900
Description: Performs custom cloudformation initialisation
Environment:
Expand Down
Loading

0 comments on commit 7cfedf9

Please sign in to comment.