Updated to 1.12.1. When doing sls deploy --stage ops --profile ops --verbose, it appears these options are being ignored now. I have these statically set in my serverless.yml and it’s using these regardless of what I override on the CLI. Anyone else experiencing this?
I was noticing something strange, I believe I got around it by doing this:
provider:
name: aws
runtime: nodejs6.10
defaultStage: dev
stage: ${opt:stage, self:provider.defaultStage}
@joeyburgett sorry to hear that, seems like a potential bug. Please open up an issue in the github serverless repo and we’ll take a look at it immediately. Thanks!