I had the same. I have changed my amplifyconfiguration.json file to amplify_outputs.json and it worked.