-
Notifications
You must be signed in to change notification settings - Fork 31
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
1st Deploy of Data Model fails from Amplify Studio #958
Comments
Hey @daveashworth, 👋 thank you for reaching out. The error message seems to be masked with the CDK warnings
Does the data model have a many to many relationship? was there a recent change to the data model such as changing the model name or data type on a field? I will be transferring the issue to studio repository for further assistance. |
Hey @ykethan 👋 I do have a few many-to-many relationships in the model, but this was the initial creation step. No pre-existing model. I was trying to define a Permissions and a Roles model with a many-to-many relationship between those two. Unfortunately the overall model wasn't created when I clicked "Deploy" and I'm going to need to create this from scratch again as none of what I defined yesterday exists today in the Studio. |
And I believe this is the App ID if that still helps: |
Hey @daveashworth, I was able to reproduce the issue. The issue appears due to the naming conflict on |
Ok thank you @ykethan! I will re-create the model and make sure to change the name on that relationship for now. |
|
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
16.13.1
Amplify CLI Version
12.0.3
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made
Describe the bug
I had defined the data model for a new Amplify project and clicked "Deploy" in the Amplify Studio and immediately saw the deploy error message in the UI asking me to report this issue.
Expected behavior
I expected the data model I defined to be created and then deployed.
Reproduction steps
Again, this happened in Amplify Studio, but it asked me to report it here. I defined the data model, then clicked "Deploy" and got the error.
Project Identifier
4188a2e36601ecf00b1a0c9b2e1c7fe2
Log output
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: