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

Merged
merged 11 commits into from
Apr 2, 2025
Merged

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 6ad9900.

♻️ 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.

Copy link
Contributor

@Copilot Copilot AI left a comment

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
@marrobi marrobi marked this pull request as ready for review March 21, 2025 15:10
@marrobi
Copy link
Member Author

marrobi commented Apr 2, 2025

/test-extended

Copy link

github-actions bot commented Apr 2, 2025

🤖 pr-bot 🤖

🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/14213811131 (with refid 4d37d3a7)

(in response to this comment from @marrobi)

@tamirkamara
Copy link
Collaborator

/test-force-approve
The relevant tests passed here: https://github.com/microsoft/AzureTRE/actions/runs/14200262768
I think that is enough

Copy link

github-actions bot commented Apr 2, 2025

🤖 pr-bot 🤖

✅ Marking tests as complete (for commit 6ad9900)

(in response to this comment from @tamirkamara)

@marrobi marrobi merged commit e27b48b into main Apr 2, 2025
12 checks passed
@marrobi marrobi deleted the marrobi/add-soft-delete branch April 2, 2025 07:25
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
5 participants