Skip to content

Enable to remove services just by providing their name to sls remove #2202

@flomotlik

Description

@flomotlik

This is a Feature Proposal

Description

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.
  • If there is additional config how would it look

To remove a deployed service at the moment you need the serverless.yml file on your local system so you can run serverless remove. Over time different services might have been deployed into your infrastructure and its not possible to remove them easily through Cloudformation because the S3 buckets aren't empty. Thus we can add an option --service-name to the remove command that will skip the current serverless.yml config and simply remove the whole service.

Another option would be setting appropriate values on the S3 bucket CF deployment, so you can easily remove it through the CF UI (probably the even better solution)

Similar or dependent issues:
*

Additional Data

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions