-
Notifications
You must be signed in to change notification settings - Fork 823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete unused GraphQl model #9744
Comments
Hey @Lasim 👋 I've marked this as a duplicate of #9712. It is not recommended to use the CI/CD pipeline to perform this deletion. From the issue:
|
@josefaidt Ticked is somewhat old, but still I'm getting here again and again. We would like to run it with the cloud, especially as you're advising not to do :) The problem is that it just doesn't work. Build pipeline, exactly as topic starter's, does not use How desperate we got:
Result:
So, not much success 🥲 I'm wandering what's actually happens, line by line, but it's obscured. |
Which Category is your question related to?
Amplify CLI Version
7.6.19
What AWS Services are you utilizing?
AppSync / DynamoDB
Provide additional details e.g. code snippets. Be sure to remove any sensitive data.
I would like to delete an unused GraphQL model.
Locally it works fine with
amplify push --allow-destructive-graphql-schema-updates
My question is how do I do that in Amplify "Build settings" in
amplify.yaml
?My current
amplify.yaml
file for Backend:I've also tried adding the flag
--allow-destructive-graphql-schema-updates
toamplifyPush
command but without success.How should I modify my Build Settings
amplify.yaml
so I can delete a @model in AppSync?Thank you all for your time and effort.
Amplify (AWS Console) error message:
The text was updated successfully, but these errors were encountered: