0034. Consolidate control planes, keep Terraform as the enterprise IaC path, and park premature layers
Fold the six non-Azure control planes into avd-landing-zone/planes/, keep avd-hcl as the active Terraform IaC path, and park upper layers until the core loop passes.
Context and Problem Statement
Five weeks of rapid multi-repo expansion left 19 public repositories, 11 web surfaces, and more than 200 vendored contract files, while live validation lagged behind the architecture.
More
Splitting thin control planes (avd-entra, avd-intune, avd-m365, avd-power-platform, avd-networking, avd-security) into separate repositories multiplied CI workflows, release trains, and contract-hash vendoring without independent release value. Meanwhile, avd-azure diverged from avd-landing-zone/bicep/ even as Terraform (avd-hcl) became the enterprise IaC path (decision 0016), and upper-layer specifications (decision 0030 and decision 0031) were added before the core multi-plane deployment, drift round-trip, and recovery drills had passed end-to-end. How should avd-ops shrink its active working surface without deleting code or breaking the knowledge-capture loop?
Considered Options
Three options were weighed.
- Keep all 19 repositories active and finish every layer in parallel: Preserves the original split (decision 0009), but keeps cross-repo vendoring overhead and splits maintainer focus across unproven surfaces.
- Collapse everything—including
avd-second-brainandavd-hcl—into a single Bicep monorepo: Reduces repo count further, but breaks the cross-repokb-captureanddocs-check.ymlloop anchored inavd-second-brain, violatesavd-assess's no-tools boundary, and drops the Terraform enterprise IaC path. - Consolidate control planes into
avd-landing-zone/planes/, keepavd-hclactive, freezeavd-second-brainwith KB open, and park upper layers: Concentrates active work on five core public repositories while preserving all existing code and history.
Decision Outcome
Chosen option: "Consolidate control planes into avd-landing-zone/planes/, keep avd-hcl active, freeze avd-second-brain with KB open, and park upper layers".
More
Why: It eliminates six-way CI and contract-vendoring friction, aligns infrastructure delivery around Terraform (avd-hcl) plus avd-landing-zone orchestration, keeps the family knowledge-base loop intact, and enforces a strict proof gate before unfreezing higher layers.
1. Active core repositories
- avd-current-state: Read-only discovery, redacted
C11facts, and drift detection. - avd-hcl: Active enterprise Terraform and Packer IaC engine (decision 0016).
- avd-landing-zone: Top-level orchestrator (
planes/), run recorder, deployment portal, and proven dev Bicep baseline. - avd-assess: Methodology, standards, and core schemas (no execution tools).
- avd-ops and avd-linecheck: Front door (
avd-ops.dev), demo hub (avd-ops.app), shared design system, and standalone network check.
2. Control-plane consolidation (supersedes 0009, narrows 0028)
- Prove first, then fold: Standalone control-plane runs execute at their current pinned commits before any code moves, so consolidation regressions stay separable from pre-existing bugs.
- Clean import with provenance:
avd-entra,avd-intune,avd-m365,avd-power-platform,avd-networking, andavd-security(narrowing decision 0028) fold intoavd-landing-zone/planes/<plane>/via clean directory import with aSOURCE.mdprovenance file (Source: avd-ops/<repo>@<sha>, last tag, date). Each plane keeps its own entry point, teardown script, and tests, and communicates only through handoff manifests. avd-azureparked and retired: Withavd-hclas the enterprise IaC path andavd-landing-zonekeeping its proven dev Bicep baseline,avd-azureis parked without merging its diverged Bicep tree.
3. Frozen (parked) and retired repositories (zero deletion)
- Frozen in place (
parked):avd-swarm,avd-remediate,avd-servicenow,avd-aws,avd-gcp,avd-azure, decision 0030, and decision 0031. Scheduled workflows are disabled while PR checks remain intact. Unfreeze gate: core deploy, drift, and recovery runs must pass end-to-end first. avd-second-brainfrozen with KB open: Agent and vault tooling are parked, while the repository stays open for KB PRs anddocs-check.ymlsoC14/C18contracts andkb-capturelinks across the family remain unbroken.- Retired read-only after soak:
avd-migrate,avd-learn,avd-benchmark,avd-azure, and the six folded control-plane repositories are archived read-only on GitHub after a post-consolidation soak andavd-opsportal/shell cleanup. Nothing is deleted.
Consequences
- Good, because active engineering focuses on five public repositories instead of nineteen.
- Good, because no code, git history, or knowledge-base link is deleted.
- Good, because Terraform (
avd-hcl) remains the enterprise IaC standard without maintaining two diverging Bicep trees. - Bad, because
avd-landing-zonemust enforce path-filtered CI and manifest-only boundaries acrossplanes/to avoid becoming a monolith.
More Information
Related decisions superseded, narrowed, aligned, or parked by this record.
More
- Supersedes decision 0009 and narrows decision 0028.
- Aligns with decision 0016.
- Parks decision 0030 and decision 0031.
Linked from 15 pages
- First principles
- Glossary
- 0009. Split deployment into five control-plane repos orchestrated by avd-landing-zone
- 0030. Bounded recursive self-improvement (RSI) loop for avd-ops and AVD estates
- 0031. Contract-driven Digital Twin architecture
- Decision records
- Lab walkthrough: empty subscription to validated landing zone
- The repos
- avd-azure
- avd-entra
- avd-intune
- avd-landing-zone
- avd-m365
- avd-power-platform
- Roadmap