Skip to content
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

Soft delete on Workspace storage account #4385

Open
jonnyry opened this issue Feb 20, 2025 · 1 comment · May be fixed by #4389
Open

Soft delete on Workspace storage account #4385

jonnyry opened this issue Feb 20, 2025 · 1 comment · May be fixed by #4389
Labels
story Stories are the smallest unit of work to be done for a project.

Comments

@jonnyry
Copy link
Collaborator

jonnyry commented Feb 20, 2025

As a TRE Administrator/TRE Workspace Owner
I want to be able to configure Blob, File & Container Soft Delete options on the Workspace storage accounts
So that I can recover deleted files

@jonnyry jonnyry added the story Stories are the smallest unit of work to be done for a project. label Feb 20, 2025
@marrobi
Copy link
Member

marrobi commented Feb 21, 2025

@jonnyry think this needs to be configurable? Or just set sensible defaults?

marrobi added a commit that referenced this issue Feb 21, 2025
Fixes #4385

Add soft delete configuration to Workspace storage accounts.

* Add `blob_properties` block with `delete_retention_policy` and `container_delete_retention_policy` settings to `azurerm_storage_account` resource in `templates/workspaces/base/terraform/storage.tf`.
* Add `file_properties` block with `delete_retention_policy` settings to `azurerm_storage_account` resource in `templates/workspaces/base/terraform/storage.tf`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/microsoft/AzureTRE/issues/4385?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
story Stories are the smallest unit of work to be done for a project.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants