amplify-education / serverless-domain-manager

Serverless plugin for managing custom domains with API Gateways.
MIT License
938 stars 234 forks source link

can't seem to get severless-domain-manager working. #75

Closed viraf closed 6 years ago

viraf commented 6 years ago

I am following this guide here https://serverless.com/blog/serverless-api-gateway-domain/ to set up a custom domain name for Lambda & API Gateway.

I get the following error

Serverless: ‘api_mydomain_com’ was created/updated. New domains may take up to 40 minutes to be initialized.

Error --------------------------------------------------

Error: ‘api_mydomain_com’ was not created in Route53. MissingRequiredParameter: Missing required key ‘Value’ in params.ChangeBatch.Changes[0].ResourceRecordSet.ResourceRecords[0]

I have an issued certificate with aws certificate manager for my domain

Thanks

viraf commented 6 years ago

I managed to resolve the issue. The issue was due to the fact I had already created custom domain in the api gateway and hence create_domain was not working. Upon deleting it worked.

brettdh commented 6 years ago

I ran into this today as well. I'd suggest reopening this and changing the title to:

Confusing create_domain error message when domain already exists

for obvious reasons. :)