question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Proposal: `sls deploy` should only deploy functions that changed

See original GitHub issue

This 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:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:13 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
pmuenscommented, Feb 13, 2019

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.

1reaction
pmuenscommented, Aug 11, 2017

Alright, sorry for lagging on this a bit. Wanted to make sure I took the time to thoroughly think this through.

Thanks for getting back @brettneese 👍 and no worries! IMHO planning things thoroughly is super important (and oftentimes the more important part).

I hope it’s okay that I took the liberty to create a new issue with my proposals: #4071

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 🥇

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found