Feature Proposal: `sls deploy` should only deploy functions that changed
See original GitHub issueThis is a Feature Proposal
Description
I don’t want to have the responsibility on the user to determine what to deploy, or track what functions changed. The Framework should ‘detect’ what changed, and as a user, I should always be calling sls deploy
.
For bug reports:
- What went wrong?
- What did you expect should have happened?
- What was the config you used?
- What stacktrace or error message from your provider did you see?
For feature proposals:
- What is the use case that should be solved. The more detail you describe this in the easier it is to understand for us. - It makes the CLI UI cleaner and simple. It also takes away the responsibility of tracking what changed from the user to the framework.
- If there is additional config how would it look - N/A
Additional Data
- Serverless Framework Version you’re using:
- Operating System:
- Stack Trace:
- Provider Error messages:
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:13 (10 by maintainers)
Top Results From Across the Web
Deploy Function - AWS Lambda - Serverless Framework
The sls deploy function command deploys an individual function without AWS CloudFormation. This command simply swaps out the zip file that your ...
Read more >How to Build a Complete Back End System with Serverless
This article will teach you how to build and deploy everything you need to be able to build a back-end for your application....
Read more >Removals by version - GitLab Docs
To change the approvals required for a merge request, you should no longer use ... of a deployed application, tracking each function or...
Read more >Serverless Feature Flags with AWS AppConfig
In this article, we will discuss how to decouple your application configuration from your application code and how to deploy the changes to ......
Read more >How to develop locally using serverless offline - Fauna
In addition, by not having to continuously deploy changes online to stay ... serverless offline into existing serverless workflows can offer ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Closing this issue since it’s quite old and
serverless deploy
will always leverage CloudFormation ehind the scenes. We need to go through a full deployment to ensure a consistent state afterwards.One can use
serverless deploy function
to deploy a single function.Thanks for getting back @brettneese 👍 and no worries! IMHO planning things thoroughly is super important (and oftentimes the more important part).
Just saw that this morning! This is super nice 🎉 💯 super detailed and exactly what we need to have a productive discussion!
Thanks for taking the time to create that 🥇