Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning/error message when versionFunctions is false #126

Open
yaronya opened this issue May 13, 2021 · 0 comments
Open

Warning/error message when versionFunctions is false #126

yaronya opened this issue May 13, 2021 · 0 comments

Comments

@yaronya
Copy link

yaronya commented May 13, 2021

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 'null' values are not allowed in templates #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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant