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

Storage accounts - cross tenant object replication policy should get updated to reflect the new behavior #1299

Open
rasitha1 opened this issue Mar 25, 2024 · 0 comments

Comments

@rasitha1
Copy link

rasitha1 commented Mar 25, 2024

Looks like in Dec 2023, cross-tenant object replication behavior changed for Azure Storage accounts but the policy that's out there 92a89a79-6c52-4a7e-a03f-61306fc49312 is checking the old way still.

The issue is that when this policy is turned on, and we have a deploymentScripts resource type, the deployment fails because the temporary storage account provisioned by azure doesn't have an explicit false set.

This doc talks about the new behavior: https://learn.microsoft.com/en-us/azure/storage/blobs/object-replication-prevent-cross-tenant-policies?tabs=portal#remediate-cross-tenant-object-replication

We believe the policy should get updated to be something like this:

          {
            field: 'Microsoft.Storage/storageAccounts/allowCrossTenantReplication'
            equals: 'true'
          }
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

No branches or pull requests

1 participant