Custom domain and API gateway


I am following this guide here 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

Please help! I m new to the serverless community and framework.


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.