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

Commit 26174c2

Browse files
committed
Issue 207, nodejs8.10 deprecated (create) on January 6, 2020
1 parent 448b6a1 commit 26174c2

File tree

12 files changed

+30
-30
lines changed

12 files changed

+30
-30
lines changed

Auth/2_ServerlessAPI/ServerlessBackend.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Resources:
5555
Type: AWS::Lambda::Function
5656
Properties:
5757
FunctionName: RequestUnicorn
58-
Runtime: nodejs8.10
58+
Runtime: nodejs10.x
5959
Role: !GetAtt RequestUnicornExecutionRole.Arn
6060
Timeout: 5
6161
MemorySize: 128

DevOps/1_ServerlessApplicationModel/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Below is a code snippet from the SAM template to list Unicorns:
2525
Type: 'AWS::Serverless::Function'
2626
Properties:
2727
FunctionName: 'uni-api-list'
28-
Runtime: nodejs8.10
28+
Runtime: nodejs10.x
2929
CodeUri: app
3030
Handler: list.lambda_handler
3131
Description: List Unicorns

DevOps/1_ServerlessApplicationModel/uni-api/template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Resources:
2323
Type: 'AWS::Serverless::Function'
2424
Properties:
2525
FunctionName: 'uni-api-list'
26-
Runtime: nodejs8.10
26+
Runtime: nodejs10.x
2727
CodeUri: app
2828
Handler: list.lambda_handler
2929
Description: List Unicorns

DevOps/2_ContinuousDeliveryPipeline/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Using a text editor, open the `template.yml` file and append a new **AWS::Server
9999

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

102-
1. **Runtime** is `nodejs8.10`
102+
1. **Runtime** is `nodejs10.x`
103103

104104
1. **CodeUri** is `app`
105105

@@ -125,7 +125,7 @@ Using a text editor, open the `template.yml` file and append a new **AWS::Server
125125
Type: 'AWS::Serverless::Function'
126126
Properties:
127127
FunctionName: 'uni-api-update'
128-
Runtime: nodejs8.10
128+
Runtime: nodejs10.x
129129
CodeUri: app
130130
Handler: update.lambda_handler
131131
Description: Update Unicorn

DevOps/2_ContinuousDeliveryPipeline/uni-api/template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Resources:
3030
Type: 'AWS::Serverless::Function'
3131
Properties:
3232
FunctionName: 'uni-api-read'
33-
Runtime: nodejs8.10
33+
Runtime: nodejs10.x
3434
CodeUri: app
3535
Handler: read.lambda_handler
3636
Description: View Unicorn by name
@@ -50,7 +50,7 @@ Resources:
5050
Type: 'AWS::Serverless::Function'
5151
Properties:
5252
FunctionName: 'uni-api-list'
53-
Runtime: nodejs8.10
53+
Runtime: nodejs10.x
5454
CodeUri: app
5555
Handler: list.lambda_handler
5656
Description: List Unicorns

DevOps/3_XRay/uni-api/template.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Resources:
3030
Type: 'AWS::Serverless::Function'
3131
Properties:
3232
FunctionName: 'uni-api-read'
33-
Runtime: nodejs8.10
33+
Runtime: nodejs10.x
3434
CodeUri: app
3535
Handler: read.lambda_handler
3636
Description: View Unicorn by name
@@ -51,7 +51,7 @@ Resources:
5151
Type: 'AWS::Serverless::Function'
5252
Properties:
5353
FunctionName: 'uni-api-list'
54-
Runtime: nodejs8.10
54+
Runtime: nodejs10.x
5555
CodeUri: app
5656
Handler: list.lambda_handler
5757
Description: List Unicorns
@@ -72,7 +72,7 @@ Resources:
7272
Type: 'AWS::Serverless::Function'
7373
Properties:
7474
FunctionName: 'uni-api-update'
75-
Runtime: nodejs8.10
75+
Runtime: nodejs10.x
7676
CodeUri: app
7777
Handler: update.lambda_handler
7878
Description: Update Unicorn
@@ -93,7 +93,7 @@ Resources:
9393
Type: 'AWS::Serverless::Function'
9494
Properties:
9595
FunctionName: 'uni-api-delete'
96-
Runtime: nodejs8.10
96+
Runtime: nodejs10.x
9797
CodeUri: app
9898
Handler: delete.lambda_handler
9999
Description: Delete Unicorn

DevOps/4_MultipleEnvironments/uni-api/template.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Resources:
3434
Type: 'AWS::Serverless::Function'
3535
Properties:
3636
FunctionName: !Sub 'uni-api-read${CustomSuffix}'
37-
Runtime: nodejs8.10
37+
Runtime: nodejs10.x
3838
CodeUri: app
3939
Handler: read.lambda_handler
4040
Description: View Unicorn by name
@@ -54,7 +54,7 @@ Resources:
5454
Type: 'AWS::Serverless::Function'
5555
Properties:
5656
FunctionName: !Sub 'uni-api-list${CustomSuffix}'
57-
Runtime: nodejs8.10
57+
Runtime: nodejs10.x
5858
CodeUri: app
5959
Handler: list.lambda_handler
6060
Description: List Unicorns
@@ -74,7 +74,7 @@ Resources:
7474
Type: 'AWS::Serverless::Function'
7575
Properties:
7676
FunctionName: !Sub 'uni-api-update${CustomSuffix}'
77-
Runtime: nodejs8.10
77+
Runtime: nodejs10.x
7878
CodeUri: app
7979
Handler: update.lambda_handler
8080
Description: Update Unicorn
@@ -94,7 +94,7 @@ Resources:
9494
Type: 'AWS::Serverless::Function'
9595
Properties:
9696
FunctionName: !Sub 'uni-api-remove${CustomSuffix}'
97-
Runtime: nodejs8.10
97+
Runtime: nodejs10.x
9898
CodeUri: app
9999
Handler: delete.lambda_handler
100100
Description: Remove Unicorn

DevOps/4_MultipleEnvironments/uni-api/test-template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Resources:
2222
Type: AWS::Serverless::Function
2323
Properties:
2424
FunctionName: uni-api-test-setup
25-
Runtime: nodejs8.10
25+
Runtime: nodejs10.x
2626
CodeUri: int-test/
2727
Handler: setup.lambda_handler
2828
Description: Setup integration test
@@ -36,7 +36,7 @@ Resources:
3636
Type: AWS::Serverless::Function
3737
Properties:
3838
FunctionName: uni-api-test
39-
Runtime: nodejs8.10
39+
Runtime: nodejs10.x
4040
CodeUri: int-test/
4141
Handler: test.lambda_handler
4242
Description: Execute integration test

ImageProcessing/src/cloudformation/module-setup.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Resources:
7676
Properties:
7777
Description: "Use Amazon Rekognition to detect faces"
7878
Handler: index.handler
79-
Runtime: nodejs8.10
79+
Runtime: nodejs10.x
8080
MemorySize: 256
8181
Timeout: 60
8282
Policies:
@@ -101,7 +101,7 @@ Resources:
101101
Properties:
102102
Description: "mock notification sender"
103103
Handler: index.handler
104-
Runtime: nodejs8.10
104+
Runtime: nodejs10.x
105105
MemorySize: 256
106106
Timeout: 60
107107
CodeUri:
@@ -112,7 +112,7 @@ Resources:
112112
Properties:
113113
Description: "Use Amazon Rekognition to check if the face is already in the collection"
114114
Handler: index.handler
115-
Runtime: nodejs8.10
115+
Runtime: nodejs10.x
116116
MemorySize: 256
117117
Timeout: 60
118118
Policies:
@@ -139,7 +139,7 @@ Resources:
139139
Properties:
140140
Description: "Index the photo into Rekognition collection"
141141
Handler: index.handler
142-
Runtime: nodejs8.10
142+
Runtime: nodejs10.x
143143
MemorySize: 256
144144
Timeout: 60
145145
Policies:
@@ -167,7 +167,7 @@ Resources:
167167
Type: AWS::Serverless::Function
168168
Properties:
169169
Handler: index.handler
170-
Runtime: nodejs8.10
170+
Runtime: nodejs10.x
171171
MemorySize: 1536
172172
Timeout: 300
173173
Policies:
@@ -195,7 +195,7 @@ Resources:
195195
Properties:
196196
Description: "Save metadata of the photo to DynamoDB table"
197197
Handler: index.handler
198-
Runtime: nodejs8.10
198+
Runtime: nodejs10.x
199199
MemorySize: 256
200200
Timeout: 60
201201
Environment:

MultiRegion/1_API/wild-rydes-api-failover-region.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Resources:
100100
Type: AWS::Serverless::Function
101101
Properties:
102102
Handler: tickets-get.handler
103-
Runtime: nodejs8.10
103+
Runtime: nodejs10.x
104104
FunctionName: TicketGetFunction
105105
Policies:
106106
- AWSLambdaDynamoDBExecutionRole #managed policy
@@ -126,7 +126,7 @@ Resources:
126126
Type: AWS::Serverless::Function
127127
Properties:
128128
Handler: tickets-post.handler
129-
Runtime: nodejs8.10
129+
Runtime: nodejs10.x
130130
FunctionName: TicketPostFunction
131131
Policies:
132132
- AWSLambdaDynamoDBExecutionRole #managed policy
@@ -151,7 +151,7 @@ Resources:
151151
Type: AWS::Serverless::Function
152152
Properties:
153153
Handler: health-check.handler
154-
Runtime: nodejs8.10
154+
Runtime: nodejs10.x
155155
FunctionName: SXRHealthCheckFunction
156156
Policies:
157157
- AWSLambdaDynamoDBExecutionRole #managed policy

0 commit comments

Comments
 (0)