Skip to content

feat: [DTOSS-12152] Storage Account - enable Data Protection options#282

Open
MacMur85 wants to merge 1 commit intomainfrom
feat/DTOSS-12152-enable-storage-account-data-protection
Open

feat: [DTOSS-12152] Storage Account - enable Data Protection options#282
MacMur85 wants to merge 1 commit intomainfrom
feat/DTOSS-12152-enable-storage-account-data-protection

Conversation

@MacMur85
Copy link
Contributor

@MacMur85 MacMur85 commented Feb 24, 2026

Description

This PR introduces the data protection features, including Point-in-Time Restore (PITR), container soft delete, and file share soft delete, to the Azure Storage Account resources.
The implementation consists of this PR, and another one in the Cohort Manager repository (PR1848).

Context

New variables included in the Storage Account module:

- blob_properties_change_feed_enabled (template default: false)
- blob_properties_restore_policy_days (template default: null)
- container_delete_retention_policy_days (template default: null)
- share_properties_retention_policy_days (template default: null)

The templates change includes the variable verification using the precondition block in the lifecycle section. It will make the plan fail when the configuration mismatch is detected, for example the blob_properties_change_feed_enabled needs to be enabled if the blob_properties_restore_policy_days is not null.

The deployments below were conducted with specific values set by the implementation on the Cohort Manager repository side.

Successful deployments in Sandbox environment:

  • Audit before:
image
  • Audit plan:
image
  • Audit after:
image
  • Core before:
image
  • Core plan:
image
  • Core after:
image

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@MacMur85 MacMur85 changed the title feat:[DTOSS-12152] Storage Account - enable Data Protection options feat: [DTOSS-12152] Storage Account - enable Data Protection options Feb 24, 2026
@MacMur85 MacMur85 marked this pull request as draft February 24, 2026 22:16
@MacMur85 MacMur85 force-pushed the feat/DTOSS-12152-enable-storage-account-data-protection branch 2 times, most recently from 70b87fc to 3c642e8 Compare March 3, 2026 09:29
@MacMur85 MacMur85 force-pushed the feat/DTOSS-12152-enable-storage-account-data-protection branch from 3c642e8 to de9d6ab Compare March 6, 2026 11:07
@MacMur85 MacMur85 force-pushed the feat/DTOSS-12152-enable-storage-account-data-protection branch from a446fce to 9e320c3 Compare March 6, 2026 11:14
@MacMur85 MacMur85 marked this pull request as ready for review March 6, 2026 11:18
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.

1 participant