Open phoenecke opened 6 years ago
Unfortunately, what you asked for can not be realized yet. The appsync feature is a simple add-on to the cli, and is not a complete feature because the mobile hub does not support the appsync. We will announce it once there's an update.
+1 for this feature. Been battling with this for past day.
This seems to work https://github.com/aws/awsmobile-cli/issues/182#issuecomment-415885097
Ensure you don't have a typo in the json file, otherwise it gets silently ignored
I have a project with the two default features, plus AppSync which was added via the
awsmobile features
menu. Everything was working until I re-cloned a fresh copy of my repo and ranawsmobile init <apphub-id>
to re-hook it up to the existing backend.After that, the folder
appsync
is gone fromawsmobilejs/backend
.It seems like, I am missing the
appsync-info.json
file, which was in the default.gitignore
file.I would expect
awsmobile init <apphub-id>
to hook AppSync back up. If not, is there a documented process for manually recreating the proper config to hook it up?Thanks!