Send deleted repository resources to Artifactory trash when destroying #1094
Labels
enhancement
New feature or request
no API support
We can't implement it, because there is no public API support
Is your feature request related to a problem? Please describe.
When running the destroy command or any command that affects the presence of resources not within the STATEFILE, the resource is immediately wiped from storage and the database. It's also not sent to the trash like other deletion processes currently do in Artifactory. This can cause possible irrecoverable data loss due to an incorrect command that is run.
Describe the solution you'd like
It would be ideal to mitigate possible impactful data loss by sending destroyed repository resources to the trash, along with their artifacts, instead of being completely wiped from the application. This way, in case of an accident with running Terraform, data can be restored if necessary.
The text was updated successfully, but these errors were encountered: