Amplify push doesn't work
See original GitHub issueDescribe the bug
In my schema.graphql, I added @searchable
. However, running amplify push
doesn’t actually update cloud resource even though it says so.
To Reproduce Steps to reproduce the behavior:
- Update my current schema.graphql to add
@searchable
after@model
. amplify push
.
| Category | Resource name | Operation | Provider plugin |
| -------- | ------------------ | --------- | ----------------- |
| Api | inventoryappmobile | Update | |
| Auth | cognitoc7f37f50 | No Change | awscloudformation |
| Storage | s307ab5088 | No Change | awscloudformation |
? Are you sure you want to continue? Yes
✔ All resources are updated in the cloud
amplify codegen statements --nodownload
because I want to use GraphQL query such assearchXX
in my code. (See here)
✔ Generated GraphQL operations successfully and saved at src/graphql
Expected behavior
Cloud resource should be updated and GraphQL statements should be updated to include searchXX. However, after above steps, I run amplify status
and it still shows:
| Category | Resource name | Operation | Provider plugin |
| -------- | ------------------ | --------- | ----------------- |
| Api | inventoryappmobile | Update | |
| Auth | cognitoc7f37f50 | No Change | awscloudformation |
| Storage | s307ab5088 | No Change | awscloudformation |
I believe cloud resources are not updated and same to GraphQL statements.
Additional context amplify version: 0.1.36 OS: MacOS
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (11 by maintainers)
Top Results From Across the Web
API (GraphQL) - Troubleshooting - AWS Amplify Docs
If your deployment fails locally when updating multiple GSIs, you'll have the ability to run: amplify push --iterative-rollback to rollback the last-known-good ...
Read more >Using AWS-Amplify -> "amplify push" not working
Why am I getting this error? I have already run the same command in the past. And I did not change my NodeJS...
Read more >Team workflows with Amplify backend environments
If you don't have a project, create one using bootstrap tools like create-react-app or Gatsby. ... Enter a name for the environment: prod...
Read more >Build succeeds but backend changes are not deployed
On Amplify console after a push to a connected branch the build goes trough all the steps and there are no errors, the...
Read more >Setting up Android Push Notifications with AWS Amplify
Execute "amplify push" to update the Auth resources in the cloud. ? ApiKey XXXXXXX √ The FCM channel has been successfully enabled. Note:...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Also, I find the same issue #243 but after I try
amplify api gql-compile
, still nothing happens. Seems @mkaschke and @jtaylor1989 are faced with the same issues. Really look forward to solving the problemThis issue has been automatically locked since there hasn’t been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server
*-help
channels for those types of questions.