Skip to content

Commit

Permalink
feat: Ensure major examples are compatible with v3
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrzesik committed Nov 12, 2021
1 parent 156bfae commit 1fd4ac4
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion aws-node-express-api/serverless.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
service: aws-node-express-api
frameworkVersion: '2'
frameworkVersion: '2 || 3'

provider:
name: aws
Expand Down
2 changes: 1 addition & 1 deletion aws-node-express-dynamodb-api/serverless.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
service: aws-node-express-dynamodb-api
frameworkVersion: '2'
frameworkVersion: '2 || 3'

custom:
tableName: 'users-table-${sls:stage}'
Expand Down
2 changes: 1 addition & 1 deletion aws-node-http-api/serverless.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
service: serverless-http-api
frameworkVersion: '2'
frameworkVersion: '2 || 3'

provider:
name: aws
Expand Down
2 changes: 1 addition & 1 deletion aws-node-scheduled-cron/serverless.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
service: aws-node-scheduled-cron

frameworkVersion: '2'
frameworkVersion: '2 || 3'


provider:
Expand Down
2 changes: 1 addition & 1 deletion aws-node-sqs-worker/serverless.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
service: aws-node-sqs-worker
frameworkVersion: '2'
frameworkVersion: '2 || 3'

provider:
name: aws
Expand Down
2 changes: 1 addition & 1 deletion aws-node/serverless.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
service: aws-node # NOTE: update this with your service name

frameworkVersion: '2'
frameworkVersion: '2 || 3'


provider:
Expand Down
2 changes: 1 addition & 1 deletion aws-python-flask-api/serverless.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
service: aws-python-flask-api

frameworkVersion: '2'
frameworkVersion: '2 || 3'

custom:
wsgi:
Expand Down
2 changes: 1 addition & 1 deletion aws-python-flask-dynamodb-api/serverless.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
service: aws-python-flask-dynamodb-api

frameworkVersion: '2'
frameworkVersion: '2 || 3'

custom:
tableName: 'users-table-${self:provider.stage}'
Expand Down
2 changes: 1 addition & 1 deletion aws-python-http-api/serverless.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
service: aws-python-http-api
frameworkVersion: '2'
frameworkVersion: '2 || 3'

provider:
name: aws
Expand Down
2 changes: 1 addition & 1 deletion aws-python-scheduled-cron/serverless.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
service: aws-python-scheduled-cron

frameworkVersion: '2'
frameworkVersion: '2 || 3'


provider:
Expand Down
2 changes: 1 addition & 1 deletion aws-python-sqs-worker/serverless.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
service: aws-python-sqs-worker
frameworkVersion: '2'
frameworkVersion: '2 || 3'

provider:
name: aws
Expand Down
2 changes: 1 addition & 1 deletion aws-python/serverless.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
service: aws-python # NOTE: update this with your service name

frameworkVersion: '2'
frameworkVersion: '2 || 3'


provider:
Expand Down

0 comments on commit 1fd4ac4

Please sign in to comment.