Repository navigation
fix(terraform)!: prevent unintended replacements during AIO upgrades - #884
Open
Katrien De Graeve (katriendg) wants to merge 3 commits into
Open
Katrien De Graeve (katriendg) wants to merge 3 commits into
Katrien De Graeve (katriendg) wants to merge 3 commits into
Conversation
…ipt handling - change schema registry API version to 2026-04-01 - update public network access variable in storage account module - enhance Key Vault script retrieval documentation - add lifecycle rules to ignore changes in script values - modify role assignment dependencies for Arc cluster 🔧 - Generated by Copilot
… steps - clarify Terraform state refresh process - enhance instructions for aligning configurations - add warnings about bootstrap maintenance 🔧 - Generated by Copilot
📚 Documentation Health ReportGenerated on: 2026-10-14 11:39:06 UTC 📈 Documentation Statistics
🏗️ Three-Tree Architecture Status
🔍 Quality Metrics
This report is automatically generated by the Documentation Automation workflow. |
Co-authored-by: katriendg <838216+katriendg@users.noreply.github.com>
This branch has not been deployed
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.
Description
Prevent deferred Arc cluster lookups from causing unintended replacement cascades during Azure IoT Operations (AIO) upgrades, and keep existing Linux VM bootstrap payloads unchanged during routine reconciliation. Also correct storage-account provider compatibility and update the Bicep schema-registry API version.
Bootstrap content becomes create-only: later script and template-input changes require explicitly reviewed maintenance instead of automatically updating deployed secrets or rerunning VM setup.
Related Issue
Closes #883.
This implements the source safeguards and bootstrap maintenance documentation.
Type of Change
Implementation Details
valueandcontent_type, and Linux VM extensionprotected_settings. Other attributes remain managed; deletion or identity changes can still destroy or replace resources.public_network_access_enabledto preserve the Boolean input behavior with AzureRM 5.3.0 and 5.9.0. Provider constraints remain unchanged.2024-09-01-previewto2026-04-01and regenerate its resource reference.No cluster setup scripts, extension version pins, or deployment-specific dataflow graph inputs are changed by this commit.
Testing Performed
Evidence collected during implementation:
The plan evidence is not a fresh-deployment or Kubernetes workload-health test. No regression tests were added. Hosted CI and first-deployment ordering verification remain pending.
Validation Steps
Checklist
terraform fmton all Terraform codeterraform validateon all Terraform codeaz bicep formaton all Bicep codeaz bicep buildto validate all Bicep codeSecurity Review
Additional Notes
The storage Boolean argument is deprecated toward AzureRM v6; this change retains compatibility within the existing v5 constraint rather than upgrading the provider.
Bootstrap fixes, including changes to in-cluster administrator bindings, will no longer propagate automatically through the ignored payload fields. Maintainers must plan explicit maintenance for existing deployments.
Screenshots (if applicable)
Not applicable: infrastructure and documentation changes only.