-
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
Amplify Studio Deployment failed because your app backend contains function #1122
Comments
I am facing this exact same issue. I thought it was because I added field "subscriptionsInheritPrimaryAuth" to the amplify/backend/cli.json , however upon removing it I am still faced with the same error as in this post. |
is there a way to add those Data models through CLI and will that work? |
I got this: An error occurred while processing your request: Deployment failed because your app backend contains analytics, function, geo, notifications. Amplify Studio only supports API, Auth, and Storage deployments. Please use the Amplify CLI to deploy updates. |
My workaround this was: |
Hey folks, thank you for reaching out. The message observed is the expected behavior as Amplify Studio does not support deploying resources such as functions, project with overrides, and custom resources enabled, etc. To continue deploying your resources, you need to utilize Amplify CLI to pull the project locally. Please refer to the documentation providing information on pulling the project locally. https://docs.amplify.aws/gen1/react/tools/console/adminui/extend-cli/ |
|
Before opening, please confirm:
JavaScript Framework
React Native
Amplify APIs
GraphQL API
Amplify Version
v6
Amplify Categories
function
Backend
Amplify CLI
Environment information
Describe the bug
After adding a function using CLI and successfully push with amplify push, I cannot update my data models from amplify studio. I got below message
An error occurred while processing your request: Deployment failed because your app backend contains function. Amplify Studio only supports API, Auth, and Storage deployments. Please use the Amplify CLI to deploy updates.
Expected behavior
I should be able to create and update Data Model from amplify studio even if function exists.
Reproduction steps
Code Snippet
// Put your code below this line.
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: