diff --git a/ImageProcessing/src/cloudformation/module-setup.yaml b/ImageProcessing/src/cloudformation/module-setup.yaml index 987edf1b..971baf78 100644 --- a/ImageProcessing/src/cloudformation/module-setup.yaml +++ b/ImageProcessing/src/cloudformation/module-setup.yaml @@ -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 \ No newline at end of file + Value: !GetAtt StateMachineRole.Arn diff --git a/MultiRegion/1_API/wild-rydes-api-failover-region.yaml b/MultiRegion/1_API/wild-rydes-api-failover-region.yaml index 040be0a3..55cf3889 100644 --- a/MultiRegion/1_API/wild-rydes-api-failover-region.yaml +++ b/MultiRegion/1_API/wild-rydes-api-failover-region.yaml @@ -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 diff --git a/MultiRegion/1_API/wild-rydes-api-primary-region.yaml b/MultiRegion/1_API/wild-rydes-api-primary-region.yaml index bc065634..cee81cea 100644 --- a/MultiRegion/1_API/wild-rydes-api-primary-region.yaml +++ b/MultiRegion/1_API/wild-rydes-api-primary-region.yaml @@ -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