-
Notifications
You must be signed in to change notification settings - Fork 820
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
Invalid request provided: Existing schema attributes cannot be modified or deleted. doing amplify push after adding a custom CDK stack #13989
Comments
Hey @charith-eLovu, thank you for reaching out. It appears there is an update action on the user pool attribute. |
Hi @ykethan , const dependencies: AmplifyDependentResourcesAttributes =
AmplifyHelpers.addResourceDependency(
this,
amplifyResourceProps.category,
amplifyResourceProps.resourceName,
[
{
category: 'function', // api, auth, storage, function, etc.
resourceName: 'MyFunction', // find the resource at "amplify/backend/<category>/<resourceName>"
} /* add more dependencies as needed */,
]
); |
@charith-eLovu interesting. To further dive into this issue, could you run |
@ykethan Project Identifier: 98f93e5491855496140f48d44499b6cc |
Hi @ykethan , |
Hey @charith-eLovu, tried reproducing the issue similar to the project resources.
|
@charith-eLovu does the auth resource contain any custom attributes? if yes, could you provide us information on how the custom attributes are being added currently. |
hi @ykethan , |
@charith-eLovu the error currently suggests this occurring on the Auth attributes/schema changes. |
Hi @ykethan , |
thank you for the confirmation. Closing the issue. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Before opening, please confirm:
JavaScript Framework
React, React Native
Amplify APIs
Authentication, Analytics, Push Notifications
Amplify Version
v5
Amplify Categories
auth, function, notifications
Backend
Amplify CLI
Environment information
Describe the bug
i have created a custom CDK to create a step function . initially it had some problems so i did
amplify remove custom
and re-created the stack with same name .now when i try to push my i can only see 'Update' operation for my custom stack and all other's as No change .
but i get the following error
what i also observe is in my backend-config.json i see
parameters
property with all its details being removed.Expected behavior
should create the custom stack on aws
Reproduction steps
Code Snippet
// Put your code below this line.
Log output
aws-exports.js
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: