Skip to content

Disabled versioning and restore policy for hierarchical storage

All Submissions:


  • [YES] Have you added an explanation of what your changes do and why you'd like us to include them?
  • [YES] I have updated the documentation accordingly.
  • [YES] My code follows the code style of this project.

Current Behavior or Linked Issues


Versioning, change feed and restore policy is enabled for all storage accounts as part of the storage account module. These features are not supported by hierarchical storages because of which the terraform apply fails with error 'versioning_enabled can't be true when 'is_hns_enabled' is true'.

The condition sets these settings to false whenever is_hns_enabled is set to true i.e. for hierarchical storages.

Does this introduce a breaking change?


  • [NO]

Other information


Merge request reports