Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Upgrade deprecated runtime nodejs10.x #306

Open
wants to merge 1 commit into
base: master
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
14 changes: 7 additions & 7 deletions ImageProcessing/src/cloudformation/module-setup.yaml
Original file line number Diff line number Diff line change
@@ -76,7 +76,7 @@ Resources:
Properties:
Description: "Use Amazon Rekognition to detect faces"
Handler: index.handler
Runtime: nodejs10.x
Runtime: nodejs14.x
MemorySize: 256
Timeout: 60
Policies:
@@ -101,7 +101,7 @@ Resources:
Properties:
Description: "mock notification sender"
Handler: index.handler
Runtime: nodejs10.x
Runtime: nodejs14.x
MemorySize: 256
Timeout: 60
CodeUri:
@@ -112,7 +112,7 @@ Resources:
Properties:
Description: "Use Amazon Rekognition to check if the face is already in the collection"
Handler: index.handler
Runtime: nodejs10.x
Runtime: nodejs14.x
MemorySize: 256
Timeout: 60
Policies:
@@ -139,7 +139,7 @@ Resources:
Properties:
Description: "Index the photo into Rekognition collection"
Handler: index.handler
Runtime: nodejs10.x
Runtime: nodejs14.x
MemorySize: 256
Timeout: 60
Policies:
@@ -167,7 +167,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: index.handler
Runtime: nodejs10.x
Runtime: nodejs14.x
MemorySize: 1536
Timeout: 300
Policies:
@@ -195,7 +195,7 @@ Resources:
Properties:
Description: "Save metadata of the photo to DynamoDB table"
Handler: index.handler
Runtime: nodejs10.x
Runtime: nodejs14.x
MemorySize: 256
Timeout: 60
Environment:
@@ -318,4 +318,4 @@ Outputs:
RiderPhotoDDBTable:
Value: !Ref RiderPhotoDDBTable
StateMachineRole:
Value: !GetAtt StateMachineRole.Arn
Value: !GetAtt StateMachineRole.Arn
6 changes: 3 additions & 3 deletions MultiRegion/1_API/wild-rydes-api-failover-region.yaml
Original file line number Diff line number Diff line change
@@ -100,7 +100,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: tickets-get.handler
Runtime: nodejs10.x
Runtime: nodejs14.x
FunctionName: TicketGetFunction
Policies:
- AWSLambdaDynamoDBExecutionRole #managed policy
@@ -126,7 +126,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: tickets-post.handler
Runtime: nodejs10.x
Runtime: nodejs14.x
FunctionName: TicketPostFunction
Policies:
- AWSLambdaDynamoDBExecutionRole #managed policy
@@ -151,7 +151,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: health-check.handler
Runtime: nodejs10.x
Runtime: nodejs14.x
FunctionName: SXRHealthCheckFunction
Policies:
- AWSLambdaDynamoDBExecutionRole #managed policy
6 changes: 3 additions & 3 deletions MultiRegion/1_API/wild-rydes-api-primary-region.yaml
Original file line number Diff line number Diff line change
@@ -100,7 +100,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: tickets-get.handler
Runtime: nodejs10.x
Runtime: nodejs14.x
FunctionName: TicketGetFunction
Policies:
- AWSLambdaDynamoDBExecutionRole #managed policy
@@ -126,7 +126,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: tickets-post.handler
Runtime: nodejs10.x
Runtime: nodejs14.x
FunctionName: TicketPostFunction
Policies:
- AWSLambdaDynamoDBExecutionRole #managed policy
@@ -151,7 +151,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: health-check.handler
Runtime: nodejs10.x
Runtime: nodejs14.x
FunctionName: SXRHealthCheckFunction
Policies:
- AWSLambdaDynamoDBExecutionRole #managed policy