sid88in / serverless-appsync-plugin

serverless plugin for appsync
MIT License
951 stars 189 forks source link

Can't create custom domain #507

Open zhaoyi0113 opened 2 years ago

zhaoyi0113 commented 2 years ago

I am using "serverless-appsync-plugin": "^1.13.0", in my serverless yml file. And I tried to create a custom domain but failed. The doc says I must create the domain first, but below command give me an error:

sls appsync-domain create

 Serverless Error ----------------------------------------

  Serverless command "appsync-domain create" not found. Run "serverless help" for a list of all available commands.

  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com

How can I install appsync-domain command to sls?

My sls version is:

$ sls --version
Serverless: Running "serverless" installed locally (in service node_modules)
Framework Core: 1.83.3 (local)
Plugin: 3.8.4
SDK: 2.3.2
Components: 2.34.9
bboure commented 2 years ago

Hi,

thanks for reaching out. I just tried to reproduce this but I can't

Did you try re-installing the plugin? or checking the version

npm info serverless-appsync-plugin
zhaoyi0113 commented 2 years ago

Yes I have tried to re-install the plugin. This is the command output:

$ npm info serverless-appsync-plugin

serverless-appsync-plugin@1.13.0 | MIT | deps: 10 | versions: 42
AWS AppSync support for the Serverless Framework
https://github.com/sid88in/serverless-appsync-plugin#readme

dist
.tarball: https://registry.npmjs.org/serverless-appsync-plugin/-/serverless-appsync-plugin-1.13.0.tgz
.shasum: dea96af8f347efbb6e518410c34f2baba2eef89c
.integrity: sha512-6N0VmATovPdOX+raSd1NYKS1lfL4VMfFwxyHxWRhA4BeGJGRazLqgcdbtRtZb80Tcx/4qjnx4zTwfYVND1fNnQ==
.unpackedSize: 140.9 kB

dependencies:
@graphql-tools/merge: ^6.2.11              graphql: ^14.7.0
aws-sdk: ^2.881.0                          koa: ^2.13.1
chalk: ^2.4.2                              lodash: ^4.17.20
globby: ^11.0.3                            moment: ^2.29.1
graphql-playground-middleware-koa: ^1.6.21 ramda: ^0.25.0

maintainers:
- sid88in <sid88in@gmail.com>
- bboure <benoit.boure@gmail.com>

dist-tags:
alpha: 2.0.0-alpha.6                latest: 1.13.0
alpha@2.0.0-alpha.1: 2.0.0-alpha.1

published 2 months ago by bboure <benoit.boure@gmail.com>