From 1fd4ac49c2fa5a2c1377c5e636edcaeef67416ea Mon Sep 17 00:00:00 2001 From: Piotr Grzesik Date: Thu, 11 Nov 2021 16:20:13 +0100 Subject: [PATCH] feat: Ensure major examples are compatible with v3 --- aws-node-express-api/serverless.yml | 2 +- aws-node-express-dynamodb-api/serverless.yml | 2 +- aws-node-http-api/serverless.yml | 2 +- aws-node-scheduled-cron/serverless.yml | 2 +- aws-node-sqs-worker/serverless.yml | 2 +- aws-node/serverless.yml | 2 +- aws-python-flask-api/serverless.yml | 2 +- aws-python-flask-dynamodb-api/serverless.yml | 2 +- aws-python-http-api/serverless.yml | 2 +- aws-python-scheduled-cron/serverless.yml | 2 +- aws-python-sqs-worker/serverless.yml | 2 +- aws-python/serverless.yml | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/aws-node-express-api/serverless.yml b/aws-node-express-api/serverless.yml index fd97b726a..8a1fff8cd 100644 --- a/aws-node-express-api/serverless.yml +++ b/aws-node-express-api/serverless.yml @@ -1,5 +1,5 @@ service: aws-node-express-api -frameworkVersion: '2' +frameworkVersion: '2 || 3' provider: name: aws diff --git a/aws-node-express-dynamodb-api/serverless.yml b/aws-node-express-dynamodb-api/serverless.yml index c103746a0..ac64d2e65 100644 --- a/aws-node-express-dynamodb-api/serverless.yml +++ b/aws-node-express-dynamodb-api/serverless.yml @@ -1,5 +1,5 @@ service: aws-node-express-dynamodb-api -frameworkVersion: '2' +frameworkVersion: '2 || 3' custom: tableName: 'users-table-${sls:stage}' diff --git a/aws-node-http-api/serverless.yml b/aws-node-http-api/serverless.yml index 808b06bf4..8865fc18a 100644 --- a/aws-node-http-api/serverless.yml +++ b/aws-node-http-api/serverless.yml @@ -1,5 +1,5 @@ service: serverless-http-api -frameworkVersion: '2' +frameworkVersion: '2 || 3' provider: name: aws diff --git a/aws-node-scheduled-cron/serverless.yml b/aws-node-scheduled-cron/serverless.yml index 859915dd4..c1e83feaa 100644 --- a/aws-node-scheduled-cron/serverless.yml +++ b/aws-node-scheduled-cron/serverless.yml @@ -1,6 +1,6 @@ service: aws-node-scheduled-cron -frameworkVersion: '2' +frameworkVersion: '2 || 3' provider: diff --git a/aws-node-sqs-worker/serverless.yml b/aws-node-sqs-worker/serverless.yml index 61d17bca3..33bdfe3f7 100644 --- a/aws-node-sqs-worker/serverless.yml +++ b/aws-node-sqs-worker/serverless.yml @@ -1,5 +1,5 @@ service: aws-node-sqs-worker -frameworkVersion: '2' +frameworkVersion: '2 || 3' provider: name: aws diff --git a/aws-node/serverless.yml b/aws-node/serverless.yml index ec580b6a9..f790ee010 100644 --- a/aws-node/serverless.yml +++ b/aws-node/serverless.yml @@ -1,6 +1,6 @@ service: aws-node # NOTE: update this with your service name -frameworkVersion: '2' +frameworkVersion: '2 || 3' provider: diff --git a/aws-python-flask-api/serverless.yml b/aws-python-flask-api/serverless.yml index 2921eb8b7..afc41bcb1 100644 --- a/aws-python-flask-api/serverless.yml +++ b/aws-python-flask-api/serverless.yml @@ -1,6 +1,6 @@ service: aws-python-flask-api -frameworkVersion: '2' +frameworkVersion: '2 || 3' custom: wsgi: diff --git a/aws-python-flask-dynamodb-api/serverless.yml b/aws-python-flask-dynamodb-api/serverless.yml index d5b8c523c..d635d4e9f 100644 --- a/aws-python-flask-dynamodb-api/serverless.yml +++ b/aws-python-flask-dynamodb-api/serverless.yml @@ -1,6 +1,6 @@ service: aws-python-flask-dynamodb-api -frameworkVersion: '2' +frameworkVersion: '2 || 3' custom: tableName: 'users-table-${self:provider.stage}' diff --git a/aws-python-http-api/serverless.yml b/aws-python-http-api/serverless.yml index be4a20a24..d7f08fb5a 100644 --- a/aws-python-http-api/serverless.yml +++ b/aws-python-http-api/serverless.yml @@ -1,5 +1,5 @@ service: aws-python-http-api -frameworkVersion: '2' +frameworkVersion: '2 || 3' provider: name: aws diff --git a/aws-python-scheduled-cron/serverless.yml b/aws-python-scheduled-cron/serverless.yml index ef0ec22e5..34064f264 100644 --- a/aws-python-scheduled-cron/serverless.yml +++ b/aws-python-scheduled-cron/serverless.yml @@ -1,6 +1,6 @@ service: aws-python-scheduled-cron -frameworkVersion: '2' +frameworkVersion: '2 || 3' provider: diff --git a/aws-python-sqs-worker/serverless.yml b/aws-python-sqs-worker/serverless.yml index 181040afd..dc5862920 100644 --- a/aws-python-sqs-worker/serverless.yml +++ b/aws-python-sqs-worker/serverless.yml @@ -1,5 +1,5 @@ service: aws-python-sqs-worker -frameworkVersion: '2' +frameworkVersion: '2 || 3' provider: name: aws diff --git a/aws-python/serverless.yml b/aws-python/serverless.yml index 15d7c925e..7dd4bca34 100644 --- a/aws-python/serverless.yml +++ b/aws-python/serverless.yml @@ -1,6 +1,6 @@ service: aws-python # NOTE: update this with your service name -frameworkVersion: '2' +frameworkVersion: '2 || 3' provider: