serverless-domain-manager
serverless-domain-manager copied to clipboard
"Error: Unable to create" but it created
trafficstars
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
Bug Report
Error Description
When I run sls create_domain it says
feegow@MacBook-Pro-de-Feegow laravel-example-app % sls create_domain
Serverless: Running "serverless" installed locally (in service node_modules)
Error ---------------------------------------------------
Error: Unable to create domain laravellambdatestedenovo.devtamarin.com
at ServerlessCustomDomain.<anonymous> (/Users/feegow/dev/laravel-example-app/node_modules/serverless-domain-manager/dist/src/index.js:182:23)
at Generator.throw (<anonymous>)
at rejected (/Users/feegow/dev/laravel-example-app/node_modules/serverless-domain-manager/dist/src/index.js:6:65)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Issues: forum.serverless.com
Your Environment Information ---------------------------
Operating System: darwin
Node Version: 14.17.3
Framework Version: 2.52.1 (local)
Plugin Version: 5.4.3
SDK Version: 4.2.5
Components Version: 3.14.0
But when I go to AWS API Gateway I see the domain is there.
And when I run sls create_domain again it says
Serverless: Running "serverless" installed locally (in service node_modules)
Serverless Domain Manager: Info: Custom domain laravellambdateste.devtamarin.com already exists.
Domain Manager Configuration
Replace this with your own serverless.yml file (anonymized, of course) to help us better resolve your issue.
custom:
customDomain:
domainName: 'laravellambdatestedenovo.devtamarin.com'
certificateName: '*.devtamarin.com'
basePath: ''
stage: ${self:provider.stage}
createRoute53Record: true
Edit: I think it was the "createRoute53Record" ...
Hi @GustavoContreiras-Feegow
Could you please try our latest version of the plugin and let us know if you still have an issue?
Hi @GustavoContreiras-Feegow
Hope you have solved this issue.
There is no response for a long time so closing the issue