-
Notifications
You must be signed in to change notification settings - Fork 87
Closed
aws-amplify/amplify-cli
#11460Labels
Description
Before opening, please confirm:
- I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
- I have searched for duplicate or closed issues.
- I have read the guide for submitting bug reports.
- I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
- I have removed any sensitive information from my code snippets and submission.
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v16.14.0
Amplify CLI Version
8.0.1
What operating system are you using?
Windows
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
no
Amplify Categories
api
Amplify Commands
Not applicable
Describe the bug
amplify rebuild api
fails with the following error when using a schema with searchable in it.
🛑 ["Index: 0 State: {\"deploy\":\"waitingForDeployment\"} Message: Resource is not in the state stackUpdateComplete"]
tested application by pushing the schema without searchable and then amplify rebuild api
the application works fine with no error.
I utilized the example provided in the documentation.
Expected behavior
perform rebuild without any errors.
Reproduction steps
- amplify add api
- paste schema containing searchable.
- amplify push -y
- amplify rebuild api
GraphQL schema(s)
type Student @model @searchable {
name: String
dateOfBirth: AWSDate
email: AWSEmail
examsCompleted: Int
}
Log output
# Put your logs below this line
Additional information
No response