Is there an existing issue for this?
ARM API Version Stability
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
Is there an existing issue for this?
ARM API Version Stability
Community Note
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
References
Example of how metrics_enabled was added to the provider in : #31867