Closed StephanPraetsch closed 7 years ago
Could you add the callstack (printed when SLS_DEBUG=*
is set)?
The expectation here would be that the alias plugin creates a second stack (myLambda-myStage-myStage) that acts as the master alias stack.
It might be that the retrieval of the stage name does not cover the custom definition of a stage via variables. I will try to reproduce it, and check how and if the variable substitution is done in this case.
The stage and alias names should now be extracted correctly in case the stage is declared as variable.
Hi there
if I define the stage with a variable the stage is added twice and the second add is erroneous because the variable is not mapped myLambda-myStage-${self:custom.stage}
reproduce
in the created directory: change serverless.yml to
then run commands
The output of the deploy step is
Best regards