Repository navigation
feat: make blob versioning configurable on storage_account_public (AB#9281) - #462
Merged
Merged
Conversation
…#9281) Follow-up to #461. Object replication requires both the change feed and blob versioning on the source account, and Azure rejects an update that turns either off. With change_feed_enabled configurable the next apply moved on to InvalidRequestPropertyValue: The value 'False' is not allowed for property isVersioningEnabled because Object Replication is enabled. Accounts under an object replication policy can now declare versioning_enabled = true. The default keeps the current behaviour.
mmeurshanab
approved these changes
Aug 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Vervolg op #461. Object replication vereist op het bronaccount zowel de change feed als blob versioning, en Azure weigert een update die er één van uitzet. Nu
change_feed_enabledinstelbaar is, liep de eerstvolgende apply meteen op de tweede:Zelfde aanpak:
versioning_enabledals variabele, defaultfalse, dus voor bestaande callers verandert er niets. Dit zijn de twee vereisten van object replication, dus hierna zou er geen derde meer moeten volgen.Getest met
terraform fmtenterraform validatetegen azurerm ~> 3.117.