serverless / serverless/serverless
Feature: sls package runs validate
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 46.9k
- Forks
- 5.7k
- Avg merge
- 10h 7m
- Merged PRs (30d)
- 57
Description
This is a Feature Proposal
Description
I do not deploy from the command line, I deploy via CircleCI. I have been using sls package to check over what will be output to cloudformation before pushing a branch to github and creating a pull request. However if I have an error in my serverless template (e.g. a typo like FN::Join instead of Fn::Join) I don't find out until the validation error occurs in deployment.
If validation were to be run as part of package (or available on its own) that would be really convenient for checking my code before I pushed.
Additional Data
Serverless version 1.27.3
Mac OSX 10.12.6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue centers on the sls package command and validation of the generated CloudFormation template; start by tracing that packaging flow and its existing validation behavior. Done means packaging reports template errors such as an invalid Fn::Join name before deployment, with standalone validation addressed if the design supports it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, javascript
- Domain
- cli, cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100