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 an AWS account has more than 100 hosted zones, the command, e.g.
sls create_domain --stage prod --region eu-west-2
... fails with Error: Could not find hosted zone "{ OUR.DOMAIN.NAME.HERE }"
Command Run
e.g. sls create_domain --stage prod --region eu-west-2
Console Output
Error ---------------------------------------------------
Error: Unable to create domain tabs.prod.eu-west-2.hungrycoder.net: Could not find hosted zone "{ OUR.DOMAIN.NAME.HERE }"
at ServerlessCustomDomain.<anonymous> (/Users/Ben.Crowl/dev/tabs/node_modules/serverless-domain-manager/dist/src/index.js:190:23)
at Generator.throw (<anonymous>)
at rejected (/Users/Ben.Crowl/dev/tabs/node_modules/serverless-domain-manager/dist/src/index.js:6:65)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
Domain Manager Configuration
Replace this with your own serverless.yml file (anonymized, of course) to help us better resolve your issue.
Community Note
Bug Report
Error Description When an AWS account has more than 100 hosted zones, the command, e.g.
... fails with
Error: Could not find hosted zone "{ OUR.DOMAIN.NAME.HERE }"
Command Run e.g.
sls create_domain --stage prod --region eu-west-2
Console Output
Domain Manager Configuration Replace this with your own
serverless.yml
file (anonymized, of course) to help us better resolve your issue.Versions
Possible Solution The following lines need to get paged results (
node_modules/serverless-domain-manager/dist/src/aws/route53-wrapper.js
)