I just updated to 1.36.0 and now and when I launch serverless offline without a stage I get an error:

sls offline start Serverless Error --------------------------------------- Serverless plugin "/usr/local/lib/node_modules/serverless/lib/plugins/aws/provider/awsProvider.js" initialization errored: Invalid stage name ${opt:stage, local}: it should contains only [a-zA-Z0-9] for AWS provider if http event are present since API Gateway stage name cannot contains hyphens. Get Support -------------------------------------------- Docs: docs.serverless.com Bugs: github.com/serverless/serverless/issues Issues: forum.serverless.com Your Environment Information ----------------------------- OS: darwin Node Version: 8.10.0 Serverless Version: 1.36.0

In serverless.yml I have:

provider: name: aws runtime: nodejs8.10 stage: ${opt:stage, 'local'}

This used to work just fine, and infact, its still in the example documentation:

serverless Serverless Variables How to use Serverless Variables to insert dynamic configuration info into your serverless.yml

provider: name: aws stage: ${opt:stage, 'dev'}

it does work if I specify the stage at the commandline:

sls offline start --stage=local

Bug? or change?