Skip to content

Commit

Permalink
Issue 207, nodejs8.10 deprecated (create) on January 6, 2020
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscoombs committed Jan 6, 2020
1 parent 448b6a1 commit 26174c2
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion Auth/2_ServerlessAPI/ServerlessBackend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Resources:
Type: AWS::Lambda::Function
Properties:
FunctionName: RequestUnicorn
Runtime: nodejs8.10
Runtime: nodejs10.x
Role: !GetAtt RequestUnicornExecutionRole.Arn
Timeout: 5
MemorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion DevOps/1_ServerlessApplicationModel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Below is a code snippet from the SAM template to list Unicorns:
Type: 'AWS::Serverless::Function'
Properties:
FunctionName: 'uni-api-list'
Runtime: nodejs8.10
Runtime: nodejs10.x
CodeUri: app
Handler: list.lambda_handler
Description: List Unicorns
Expand Down
2 changes: 1 addition & 1 deletion DevOps/1_ServerlessApplicationModel/uni-api/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Resources:
Type: 'AWS::Serverless::Function'
Properties:
FunctionName: 'uni-api-list'
Runtime: nodejs8.10
Runtime: nodejs10.x
CodeUri: app
Handler: list.lambda_handler
Description: List Unicorns
Expand Down
4 changes: 2 additions & 2 deletions DevOps/2_ContinuousDeliveryPipeline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Using a text editor, open the `template.yml` file and append a new **AWS::Server

1. **FunctionName** is `uni-api-update`

1. **Runtime** is `nodejs8.10`
1. **Runtime** is `nodejs10.x`

1. **CodeUri** is `app`

Expand All @@ -125,7 +125,7 @@ Using a text editor, open the `template.yml` file and append a new **AWS::Server
Type: 'AWS::Serverless::Function'
Properties:
FunctionName: 'uni-api-update'
Runtime: nodejs8.10
Runtime: nodejs10.x
CodeUri: app
Handler: update.lambda_handler
Description: Update Unicorn
Expand Down
4 changes: 2 additions & 2 deletions DevOps/2_ContinuousDeliveryPipeline/uni-api/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Resources:
Type: 'AWS::Serverless::Function'
Properties:
FunctionName: 'uni-api-read'
Runtime: nodejs8.10
Runtime: nodejs10.x
CodeUri: app
Handler: read.lambda_handler
Description: View Unicorn by name
Expand All @@ -50,7 +50,7 @@ Resources:
Type: 'AWS::Serverless::Function'
Properties:
FunctionName: 'uni-api-list'
Runtime: nodejs8.10
Runtime: nodejs10.x
CodeUri: app
Handler: list.lambda_handler
Description: List Unicorns
Expand Down
8 changes: 4 additions & 4 deletions DevOps/3_XRay/uni-api/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Resources:
Type: 'AWS::Serverless::Function'
Properties:
FunctionName: 'uni-api-read'
Runtime: nodejs8.10
Runtime: nodejs10.x
CodeUri: app
Handler: read.lambda_handler
Description: View Unicorn by name
Expand All @@ -51,7 +51,7 @@ Resources:
Type: 'AWS::Serverless::Function'
Properties:
FunctionName: 'uni-api-list'
Runtime: nodejs8.10
Runtime: nodejs10.x
CodeUri: app
Handler: list.lambda_handler
Description: List Unicorns
Expand All @@ -72,7 +72,7 @@ Resources:
Type: 'AWS::Serverless::Function'
Properties:
FunctionName: 'uni-api-update'
Runtime: nodejs8.10
Runtime: nodejs10.x
CodeUri: app
Handler: update.lambda_handler
Description: Update Unicorn
Expand All @@ -93,7 +93,7 @@ Resources:
Type: 'AWS::Serverless::Function'
Properties:
FunctionName: 'uni-api-delete'
Runtime: nodejs8.10
Runtime: nodejs10.x
CodeUri: app
Handler: delete.lambda_handler
Description: Delete Unicorn
Expand Down
8 changes: 4 additions & 4 deletions DevOps/4_MultipleEnvironments/uni-api/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Resources:
Type: 'AWS::Serverless::Function'
Properties:
FunctionName: !Sub 'uni-api-read${CustomSuffix}'
Runtime: nodejs8.10
Runtime: nodejs10.x
CodeUri: app
Handler: read.lambda_handler
Description: View Unicorn by name
Expand All @@ -54,7 +54,7 @@ Resources:
Type: 'AWS::Serverless::Function'
Properties:
FunctionName: !Sub 'uni-api-list${CustomSuffix}'
Runtime: nodejs8.10
Runtime: nodejs10.x
CodeUri: app
Handler: list.lambda_handler
Description: List Unicorns
Expand All @@ -74,7 +74,7 @@ Resources:
Type: 'AWS::Serverless::Function'
Properties:
FunctionName: !Sub 'uni-api-update${CustomSuffix}'
Runtime: nodejs8.10
Runtime: nodejs10.x
CodeUri: app
Handler: update.lambda_handler
Description: Update Unicorn
Expand All @@ -94,7 +94,7 @@ Resources:
Type: 'AWS::Serverless::Function'
Properties:
FunctionName: !Sub 'uni-api-remove${CustomSuffix}'
Runtime: nodejs8.10
Runtime: nodejs10.x
CodeUri: app
Handler: delete.lambda_handler
Description: Remove Unicorn
Expand Down
4 changes: 2 additions & 2 deletions DevOps/4_MultipleEnvironments/uni-api/test-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
FunctionName: uni-api-test-setup
Runtime: nodejs8.10
Runtime: nodejs10.x
CodeUri: int-test/
Handler: setup.lambda_handler
Description: Setup integration test
Expand All @@ -36,7 +36,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
FunctionName: uni-api-test
Runtime: nodejs8.10
Runtime: nodejs10.x
CodeUri: int-test/
Handler: test.lambda_handler
Description: Execute integration test
Expand Down
12 changes: 6 additions & 6 deletions ImageProcessing/src/cloudformation/module-setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Resources:
Properties:
Description: "Use Amazon Rekognition to detect faces"
Handler: index.handler
Runtime: nodejs8.10
Runtime: nodejs10.x
MemorySize: 256
Timeout: 60
Policies:
Expand All @@ -101,7 +101,7 @@ Resources:
Properties:
Description: "mock notification sender"
Handler: index.handler
Runtime: nodejs8.10
Runtime: nodejs10.x
MemorySize: 256
Timeout: 60
CodeUri:
Expand All @@ -112,7 +112,7 @@ Resources:
Properties:
Description: "Use Amazon Rekognition to check if the face is already in the collection"
Handler: index.handler
Runtime: nodejs8.10
Runtime: nodejs10.x
MemorySize: 256
Timeout: 60
Policies:
Expand All @@ -139,7 +139,7 @@ Resources:
Properties:
Description: "Index the photo into Rekognition collection"
Handler: index.handler
Runtime: nodejs8.10
Runtime: nodejs10.x
MemorySize: 256
Timeout: 60
Policies:
Expand Down Expand Up @@ -167,7 +167,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: index.handler
Runtime: nodejs8.10
Runtime: nodejs10.x
MemorySize: 1536
Timeout: 300
Policies:
Expand Down Expand Up @@ -195,7 +195,7 @@ Resources:
Properties:
Description: "Save metadata of the photo to DynamoDB table"
Handler: index.handler
Runtime: nodejs8.10
Runtime: nodejs10.x
MemorySize: 256
Timeout: 60
Environment:
Expand Down
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
Expand Up @@ -100,7 +100,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: tickets-get.handler
Runtime: nodejs8.10
Runtime: nodejs10.x
FunctionName: TicketGetFunction
Policies:
- AWSLambdaDynamoDBExecutionRole #managed policy
Expand All @@ -126,7 +126,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: tickets-post.handler
Runtime: nodejs8.10
Runtime: nodejs10.x
FunctionName: TicketPostFunction
Policies:
- AWSLambdaDynamoDBExecutionRole #managed policy
Expand All @@ -151,7 +151,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: health-check.handler
Runtime: nodejs8.10
Runtime: nodejs10.x
FunctionName: SXRHealthCheckFunction
Policies:
- AWSLambdaDynamoDBExecutionRole #managed policy
Expand Down
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
Expand Up @@ -100,7 +100,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: tickets-get.handler
Runtime: nodejs8.10
Runtime: nodejs10.x
FunctionName: TicketGetFunction
Policies:
- AWSLambdaDynamoDBExecutionRole #managed policy
Expand All @@ -126,7 +126,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: tickets-post.handler
Runtime: nodejs8.10
Runtime: nodejs10.x
FunctionName: TicketPostFunction
Policies:
- AWSLambdaDynamoDBExecutionRole #managed policy
Expand All @@ -151,7 +151,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: health-check.handler
Runtime: nodejs8.10
Runtime: nodejs10.x
FunctionName: SXRHealthCheckFunction
Policies:
- AWSLambdaDynamoDBExecutionRole #managed policy
Expand Down
2 changes: 1 addition & 1 deletion WebApplication/5_OAuth/prerequisites.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ Resources:
Type: AWS::Lambda::Function
Properties:
FunctionName: RequestUnicorn
Runtime: nodejs8.10
Runtime: nodejs10.x
Role: !GetAtt RequestUnicornExecutionRole.Arn
Timeout: 5
MemorySize: 128
Expand Down

0 comments on commit 26174c2

Please sign in to comment.