

For our purposes in this Getting Started, let’s choose the option AWS - Node.js - HTTP API. This is only to get you started and everything can be changed later if you so desire. (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/request.js:690:12)Īt Request.callListeners (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/sequential_executor.js:116:18)Īt callNextListener (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/sequential_executor.js:96:12)Īt IncomingMessage.onEnd (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/event_listeners.js:313:13)Īt IncomingMessage.emit (events.js:228:7)Īt (domain.js:475:20)Īt endReadableNT (_stream_readable.js:1185:12)Īt processTicksAndRejections (internal/process/task_queues. The first option you should see is to choose the type of template you want to base your service on.

(/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/request.js:38:9)Īt Request. Problem InvalidChangeBatch: Īt Request.extractError (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/protocol/rest_xml.js:53:29)Īt Request.callListeners (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/sequential_executor.js:106:20)Īt Request.emit (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/sequential_executor.js:78:10)Īt Request.emit (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/request.js:688:14)Īt ansition (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/request.js:22:10)Īt nTo (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/state_machine.js:14:12)Īt /usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/state_machine.js:26:10Īt Request. InvalidChangeBatch: : could not create record set for dns validation Serverless: got cert info: arn:aws:acm:us-east-2:ACCT_ID:certificate/f5c5b0a7-8e8f-4adf-8db6-790aa0d471a8 - PENDING_VALIDATION Serverless: Trying to create certificate for my. in us-east-2. this is useful if you managed to delete your certificate but the dns validation records still exist if you want to give your certificate a name that is shown in the ACM Console you can add a Tag with the key "Name"
#Npm serverless domain install
Install the serverless-domain-manager in the project as a dev dependency, npm install -D serverless-domain-manager. optional - see SubjectAlternativeNames To create a custom domain using the serverless framework, we will need a plugin named serverless-domain-manager. optional - default is us-east-1 which is required for custom api gateway domains of Type Edge (default) It sets the name of the file containing the cert info optional, only used when writeCertInfoToFile is set to true. npm install serverless-domain-manager -save-dev. if you set it to true you will get a new file (after executing serverless create-cert), that contains certificate info that you can use in your deploy pipeline, alternativly as an array Configure your Serverless function to use your new custom domain. required if hostedZoneIds is not set, alternativly as an array
