Open ceich opened 6 years ago
It also created a new User Pool, albeit with all the same settings as the original User Pool. Why did this happen?
Hi @ceich, Sorry but we currently do not support this operation. Although it would be a nice addition to the CLI. The appsync-info.json file inside the .awsmobile folder is only meant to be read and written by the cli, developers should not manually edit the contents of the files in it. And existing AppSync api can not be attached to frontend project like what you are doing here. We are working to enhancing the CLI AppSync feature.
@UnleashedMind Any update? I don't see any commits to this repo after May 9; is this team still working on the tool?
I edited appsync-info.json to specify the apiId of an existing API, and ran
awsmobile pull
which correctly pulled down the full API.When I ran
awsmobile push
it tried to re-create the DynamoDB tables. The failure did not seem fatal, and the overall push ran to completion.I am not sure what would have happened if I had edited the table definitions before pushing. I am afraid that the updates would not have propagated to the cloud.