claudiajs / claudia

Deploy Node.js projects to AWS Lambda and API Gateway easily
https://claudiajs.com
MIT License
3.8k stars 273 forks source link

first time use Claudiajs create in region China error NetworkingError #220

Open pbpoon opened 3 years ago

pbpoon commented 3 years ago

Please use GitHub issues only to report bugs. To ask a general question or request assistance/support, please use the Claudia.js Gitter Chat instead.

To report a bug or a problem, please fill in the sections below. The more you provide, the better we'll be able to help.


$ claudia create --profile default --region cn-northwest-1 --handler lambda.handler packaging files npm install -q --no-audit --production npm WARN claudia-test@1.0.0 No description npm WARN claudia-test@1.0.0 No repository field.

initialising IAM role iam.createRole RoleName=claudia-test-executor Error: getaddrinfo ENOTFOUND iam.cn-northwest-1.amazonaws.com.cn at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:67:26) { errno: -3008, code: 'NetworkingError', syscall: 'getaddrinfo', hostname: 'iam.cn-northwest-1.amazonaws.com.cn', region: 'cn-northwest-1', retryable: true, time: 2020-12-29T03:10:28.971Z }

pbpoon commented 3 years ago

when I change the region to cn-north-1 is ok, but cn-north-1 is Beijing