serverless-appsync-plugin icon indicating copy to clipboard operation
serverless-appsync-plugin copied to clipboard

Can't create custom domain

Open zhaoyi0113 opened this issue 2 years ago • 2 comments

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

zhaoyi0113 avatar Jun 10 '22 07:06 zhaoyi0113

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

bboure avatar Jun 11 '22 08:06 bboure

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

$ npm info serverless-appsync-plugin

[email protected] | 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 <[email protected]>
- bboure <[email protected]>

dist-tags:
alpha: 2.0.0-alpha.6                latest: 1.13.0
[email protected]: 2.0.0-alpha.1

published 2 months ago by bboure <[email protected]>

zhaoyi0113 avatar Jun 11 '22 08:06 zhaoyi0113