serverless-domain-manager
serverless-domain-manager copied to clipboard
Any way to have domain created / deleted within the regular create / remove lifecycle?
Community Note
- 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
Support Question
Question Is there any way to have domain created / deleted within the regular create / remove life-cycle that maybe I'm missing from the documentation?
It seems to me it would be simpler for the developer to just run sls deploy, and if the plugin is present and configured, have the domain created.
Guess the challenge would be on how to tell if the domain is already created, to prevent the plugin from trying to create it again.
Versions
- Domain Manager version(s): [e.g. v6.0.0, v7.0.0-beta.34]
- Node/npm version: [e.g. Node 8/npm 5]
- Serverless Version: [e.g. v1.35.1, 1.2.0]
- Lambda Code [e.g. Javascript, Python, Java]
Use autoDomain option in 4.2.0
autoDomain doesn't seem to help for me, after the stack deletes the domain still exists. Though it might be related to https://github.com/amplify-education/serverless-domain-manager/issues/406
Hi @nachojoaquin
Hope you have solved this issue.
Please try our latest version 6.x and let us know in case of any issues