CLI errors after selecting "no" to migrate REST API created with older CLI version #9104
Closed
4 tasks done
Labels
api-rest
Issues tied to REST APIs
bug
Something isn't working
extensibility
Issues related to expand or customize current configuration
Before opening, please confirm:
How did you install the Amplify CLI?
pnpm add -g @aws-amplify/cli
If applicable, what version of Node.js are you using?
v16.13.0
Amplify CLI Version
v7.5.2
What operating system are you using?
Mac
Amplify Categories
api
Amplify Commands
update
Describe the bug
Initially the REST API was created with CLI 5.x/6.x. When attempting to add a path to the existing resource I am prompted to migrate the API, however after selecting "no" the CLI errors out looking for
cli-inputs.json
in the API resource's directoryExpected behavior
Amplify CLI exits gracefully
Reproduction steps
amplify push -y
amplify update api
GraphQL schema(s)
# Put schemas below this line
Log output
Additional information
No response
The text was updated successfully, but these errors were encountered: