-
Notifications
You must be signed in to change notification settings - Fork 116
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
Cannot delete an environment #2369
Comments
Hey @OlgaMaslova 👋 thanks for raising this! I'm going to transfer this to https://github.com/aws-amplify/amplify-console to get more eyes on it |
Hi 👋, thanks for opening! While we look into this... If this issue is related to custom domains, be sure to check the custom domains troubleshooting guide to see if that helps. Also, there is a more general troubleshooting FAQ that may be helpful for other questions. Lastly, please make sure you've specified the |
Hi @OlgaMaslova 👋🏽, sorry you're experiencing this. Can you try running |
I have the same issue. I received
when running An error occurred (ValidationException) when calling the GetBackend operation: ValidationException - An error occurred while processing your request: null when running |
Hi @hloriana , here is what I see after running delete-backend: |
Thank you @OlgaMaslova and @jamescrowley for providing us this information. Does this behavior happen when attempting to delete other backend environments or is this a random occurrence? I just deleted some backend environments using both methods and didn't run into this issue. It would be super helpful if either of you could provide reproduction steps so I can understand what's causing this. Finally, try this command |
@hloriana For other envs everything was ok. The only difference is that when creating this enviroment with |
@OlgaMaslova Okay last thing, can you look in the CloudFormation console and see if the stack associated with that environment still exists? |
Reproduction Steps:
Marking as bug. |
In case it's helpful to anyone - I was able to work around the issue by deleting the parent cloud formation stack directly, then deleting the back-end environment in amplify, and then deleting the connected branch to remove the front-end environment. |
hey @hloriana @josefaidt , I encountered the same issue, but in my case, the production environment of another app was deleted. how can I recover/restore this?? I've opened a separate issue with more details #2891 |
As of 9/26/2022 several updates have been released that fix issues deleting apps/backends, including the issue reported here:
|
Related #882 |
This issue is now closed. Comments on closed issues are hard for our team to see. |
This issue has been automatically locked. |
Which Category is your question related to?
Delete an environment. I want to completely remove an existing environment. Through console, I chose Delete that resulted int th following error:
Deletion failed ValidationException - An error occurred while processing your request: null
Amplify CLI Version
6.3.1
AppID and Region
do5lfh5kuwuas, eu-west-1
What AWS Services are you utilizing?
Amplify console
Provide additional details e.g. code snippets
The text was updated successfully, but these errors were encountered: