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

Add soft delete to workspace storage account #4389

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

marrobi
Copy link
Member

@marrobi marrobi commented 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.

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).
Copy link

github-actions bot commented Feb 21, 2025

Unit Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit 3fc61d0.

♻️ This comment has been updated with latest results.

Copy link
Collaborator

@jonnyry jonnyry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - just CHANGELOG & template version number required

@marrobi
Copy link
Member Author

marrobi commented Feb 21, 2025

LGTM - just CHANGELOG & template version number required

@jonnyry done.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

@marrobi marrobi marked this pull request as draft February 21, 2025 14:59
@marrobi marrobi removed the request for review from yuvalyaron February 21, 2025 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Soft delete on Workspace storage account
2 participants