components icon indicating copy to clipboard operation
components copied to clipboard

How do you do rollback with serverless components?

Open sonneym opened this issue 6 years ago • 2 comments

Is there an example/info on rollbacks and sls components?

sonneym avatar Sep 30 '19 22:09 sonneym

We currently don't have a rollback strategy other than via source control. While this is currently not possible without remote state storage (we're working on that!), eventually you should be able to revert to a previously working codebase and redeploy.

eahefnawy avatar Oct 07 '19 11:10 eahefnawy

+1 on this feature. Although if there is a deployment issue with something other than the code (ie: IAM roles, policies, domain confiuration, etc.), it might not be possible to rollback. Started running into deployment issues today related to not being able to create a role that already exists...fortunately since the deployment failed it didn't take down our production API.

nectarcode avatar Mar 27 '21 14:03 nectarcode