Skip to content

Commit 08d8c5b

Browse files
committed
feat: Adjust major templates to v3 Framework release
1 parent 2f81cd8 commit 08d8c5b

File tree

12 files changed

+18
-32
lines changed

12 files changed

+18
-32
lines changed

aws-node-express-api/serverless.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
service: aws-node-express-api
2-
frameworkVersion: '2 || 3'
2+
frameworkVersion: '3'
33

44
provider:
55
name: aws
6-
runtime: nodejs12.x
7-
lambdaHashingVersion: '20201221'
6+
runtime: nodejs14.x
87

98
functions:
109
api:

aws-node-express-dynamodb-api/serverless.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
service: aws-node-express-dynamodb-api
2-
frameworkVersion: '2 || 3'
2+
frameworkVersion: '3'
33

44
custom:
55
tableName: 'users-table-${sls:stage}'
66

77
provider:
88
name: aws
9-
runtime: nodejs12.x
10-
lambdaHashingVersion: '20201221'
9+
runtime: nodejs14.x
1110
iam:
1211
role:
1312
statements:

aws-node-http-api/serverless.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
service: serverless-http-api
2-
frameworkVersion: '2 || 3'
2+
frameworkVersion: '3'
33

44
provider:
55
name: aws
6-
runtime: nodejs12.x
7-
lambdaHashingVersion: '20201221'
6+
runtime: nodejs14.x
87

98
functions:
109
hello:

aws-node-scheduled-cron/serverless.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
service: aws-node-scheduled-cron
22

3-
frameworkVersion: '2 || 3'
3+
frameworkVersion: '3'
44

55

66
provider:
77
name: aws
8-
runtime: nodejs12.x
9-
lambdaHashingVersion: 20201221
8+
runtime: nodejs14.x
109

1110
functions:
1211
rateHandler:

aws-node-sqs-worker/serverless.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
service: aws-node-sqs-worker
2-
frameworkVersion: '2 || 3'
2+
frameworkVersion: '3'
33

44
provider:
55
name: aws
6-
runtime: nodejs12.x
7-
lambdaHashingVersion: '20201221'
6+
runtime: nodejs14.x
87

98
constructs:
109
jobs:

aws-node/serverless.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
service: aws-node # NOTE: update this with your service name
22

3-
frameworkVersion: '2 || 3'
4-
3+
frameworkVersion: '3'
54

65
provider:
76
name: aws
8-
runtime: nodejs12.x
9-
lambdaHashingVersion: 20201221
7+
runtime: nodejs14.x
108

119
functions:
1210
hello:

aws-python-flask-api/serverless.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
service: aws-python-flask-api
22

3-
frameworkVersion: '2 || 3'
3+
frameworkVersion: '3'
44

55
custom:
66
wsgi:
@@ -9,7 +9,6 @@ custom:
99
provider:
1010
name: aws
1111
runtime: python3.8
12-
lambdaHashingVersion: '20201221'
1312

1413
functions:
1514
api:

aws-python-flask-dynamodb-api/serverless.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
service: aws-python-flask-dynamodb-api
22

3-
frameworkVersion: '2 || 3'
3+
frameworkVersion: '3'
44

55
custom:
66
tableName: 'users-table-${self:provider.stage}'
@@ -10,7 +10,6 @@ custom:
1010
provider:
1111
name: aws
1212
runtime: python3.8
13-
lambdaHashingVersion: '20201221'
1413
stage: dev
1514
iam:
1615
role:

aws-python-http-api/serverless.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
service: aws-python-http-api
2-
frameworkVersion: '2 || 3'
2+
frameworkVersion: '3'
33

44
provider:
55
name: aws
66
runtime: python3.8
7-
lambdaHashingVersion: '20201221'
87

98
functions:
109
hello:

aws-python-scheduled-cron/serverless.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
service: aws-python-scheduled-cron
22

3-
frameworkVersion: '2 || 3'
3+
frameworkVersion: '3'
44

55

66
provider:
77
name: aws
88
runtime: python3.8
9-
lambdaHashingVersion: 20201221
109

1110
functions:
1211
rateHandler:

0 commit comments

Comments
 (0)