You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Feature Request
Is your feature request related to a problem? Please describe.
I've a custom domain that I use for different services (different serverless.yml files) and each one has its own API Mapping.
I needed to delete a service that I no longer used and when running sls remove I noticed that the plugin removes the custom domain, causing all other services that use it to lose this configuration.
Describe the solution you'd like
I would like to see if another service uses the same Custom Domain before deleting it.
Describe alternatives you've considered
In order not to remove the Custom Domain I'm setting autoDomain to false before executing the sls remove command.
I use a tool that controls the environments and with it I can configure a pipeline to revert deploy, however in this case I would have to have 2 serverless.yml files to each service (one for sls deploy and another for sls remove).
The text was updated successfully, but these errors were encountered:
Each service has a different basePath.
Every time I run “sls remove ….” from one of my services, every mapping from every other services gets removed so I need to manually map them again.
Is this due to a configuration error or might it be a bug?
Community Note
Feature Request
Is your feature request related to a problem? Please describe.
I've a custom domain that I use for different services (different
serverless.yml
files) and each one has its own API Mapping.I needed to delete a service that I no longer used and when running
sls remove
I noticed that the plugin removes the custom domain, causing all other services that use it to lose this configuration.Describe the solution you'd like
I would like to see if another service uses the same Custom Domain before deleting it.
Describe alternatives you've considered
In order not to remove the Custom Domain I'm setting
autoDomain
tofalse
before executing thesls remove
command.I use a tool that controls the environments and with it I can configure a pipeline to revert deploy, however in this case I would have to have 2
serverless.yml
files to each service (one forsls deploy
and another forsls remove
).The text was updated successfully, but these errors were encountered: