-
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
Deleting back-end environment just deleted all our S3 data?! #2384
Comments
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 @jamescrowley 👋🏽 thank you for raising this issue. We are treating this as a priority and are currently investigating this behavior. We will provide an update as soon as possible. |
@jamescrowley This is default behavior when deleting backend environments. Buckets are generated with the We appreciate your feedback and will update our UI to include a clear warning to emphasize this behavior. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Before opening, please confirm:
App Id
d3dw5sp1sablwh
Region
eu-west-1
Amplify Console feature
Backend builds
Describe the bug
Deleting our back-end deleted the storage S3 bucket (along with all its contents), despite the fact the cloudformation retention policy was set to retain.
(I double checked before triggering the delete from amplify).
We tested deleting the dev environment, but due to #2369 we had to delete manually from cloud formation, which worked as expected and retained the S3 bucket and it's data.
When deleting the production environment, the CloudFormation log clearly shows it being retained as expected
and yet somehow subsequently Amplify deletes it later in the process when deleting from the console?
Expected behavior
You should not delete data in S3 storage buckets without warning! What am I missing here? This seems a completely insane default behaviour without some kind of UI warning or confirmation or option.
Reproduction steps
Build Settings
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: