serverless-plugin-canary-deployments icon indicating copy to clipboard operation
serverless-plugin-canary-deployments copied to clipboard

Warning/error message when versionFunctions is false

Open yaronya opened this issue 3 years ago • 0 comments

What are the steps to reproduce this issue?

  1. set versionFunctions to false
  2. Try setting canary deployments, you'll get the error as in #38

What happens?

Generated CF stack is malformed. The alias is created with a FunctionVersion referencing a nullish version.

What were you expecting to happen?

Have some sort of validation that outputs that versionFunctions must not be false, otherwise there isn't much point in using this plugin I suppose.

Any logs, error output, etc?

Can see more info in #38

What versions of software are you using?

sls 2.40

yaronya avatar May 13 '21 15:05 yaronya