Skip to content

Support for Priority replication & Tags replication in azurerm_storage_object_replication #33213

Description

@fpetruzzo21

Is there an existing issue for this?

  • I have searched the existing issues

ARM API Version Stability

  • I confirm that this feature request relies on a stable ARM API, or I have read the guide and believe this request qualifies for an exception.

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave comments along the lines of "+1", "me too" or "any updates", they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.

Description

The azurerm_storage_object_replication is missing the ability to activate Priority replication or Tag replication which are features available for object replication in the portal. Activating them in the portal then running your terraform project using the current API causes the settings to revert to disabled.

New or Affected Resource(s)/Data Source(s)

azurerm_storage_object_replication

Potential Terraform Configuration

Example:
resource "azurerm_storage_object_replication" "test_blob_replication" {
  source_storage_account_id      = example1.storage_account_id
  destination_storage_account_id = example2.storage_account_id
  metrics_enabled                = true
  priority_replication_enabled   = true
  tags_replication_enabled       = true

  rules {
    source_container_name      = "blobsource"
    destination_container_name = "blobdest"
    copy_blobs_created_after   = "Everything"
  }
}

References

Example of how metrics_enabled was added to the provider in : #31867

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions