serverless-domain-manager icon indicating copy to clipboard operation
serverless-domain-manager copied to clipboard

Any way to have domain created / deleted within the regular create / remove lifecycle?

Open nachojoaquin opened this issue 5 years ago • 2 comments

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]

nachojoaquin avatar Jul 04 '20 20:07 nachojoaquin

Use autoDomain option in 4.2.0

jdelaune avatar Aug 07 '20 09:08 jdelaune

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

daveykane avatar Feb 15 '21 14:02 daveykane

Hi @nachojoaquin

Hope you have solved this issue.

Please try our latest version 6.x and let us know in case of any issues

rddimon avatar Feb 06 '23 20:02 rddimon