Seed gives you the option to delete an app, a stage, or a service and also to remove the deployed resources using a
serverless remove command. Let’s take a look at how to delete an app.
Head over to the Delete panel in the Settings of an app.
Here you are asked to enter the app name to confirm deleting the app.
Note that, by default this removes the app from Seed and from AWS. To remove the app only from Seed, you’d need to deselect the checkbox.
Selecting this checkbox does the following for the respective cases via a set of
serverless remove commands:
- App: Delete all the deployed services in all the stages.
- Stage: Delete all the deployed services in the stage.
- Service: Delete the deployed service in the various stages.
Similar to the app, you can head over the a stage’s Settings.
For a service, head over to the service.
So if you are looking to delete an app, stage, or service; you need to figure out if you are trying to just remove it from Seed or if you are trying to remove the deployed AWS resources.
If your app has multiple services that are deployed in phases, Seed will remove them in the reverse order.
To understand how this works, it helps to look at an example. Let’s assume your services;
serviceC are deployed in the following order:
serviceC. When a stage is removed, they’ll be removed in reverse;
serviceA. This is to handle the case where a service might be referencing a resource from one that was deployed before it.