avd-opsDeploy quietly
Community research project. Use at your own risk. No warranty.Use at your own risk
  • Built on my own time for research and learning. Not affiliated with, endorsed by or supported by my employer or Microsoft.
  • Don't run any of it in production or against tenants that matter. Test in a dedicated lab subscription and tenant first.
  • Provided "as is", without warranty of any kind, under each repo's license. You use it at your own risk and own the Azure charges it incurs.
  • Contributions and forks are welcome and encouraged. See Contribute.

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-brain and avd-hcl—into a single Bicep monorepo: Reduces repo count further, but breaks the cross-repo kb-capture and docs-check.yml loop anchored in avd-second-brain, violates avd-assess's no-tools boundary, and drops the Terraform enterprise IaC path.
  • Consolidate control planes into avd-landing-zone/planes/, keep avd-hcl active, freeze avd-second-brain with 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 C11 facts, 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, and avd-security (narrowing decision 0028) fold into avd-landing-zone/planes/<plane>/ via clean directory import with a SOURCE.md provenance 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-azure parked and retired: With avd-hcl as the enterprise IaC path and avd-landing-zone keeping its proven dev Bicep baseline, avd-azure is 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-brain frozen with KB open: Agent and vault tooling are parked, while the repository stays open for KB PRs and docs-check.yml so C14/C18 contracts and kb-capture links 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 and avd-ops portal/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-zone must enforce path-filtered CI and manifest-only boundaries across planes/ to avoid becoming a monolith.

More Information

Related decisions superseded, narrowed, aligned, or parked by this record.

More
Linked from 15 pages