A tiny PowerShell helper that takes a single ALZ deployment and turns it into platform_connectivity and platform_management, then tidies references so each can run cleanly.
- PowerShell 7+
- A checked-out ALZ repo (e.g.
alz-mgmt)
Import-Module ./Split-ALZ-Accelerator/Split-ALZ-Accelerator.psd1 -ForceDry run
Split-ALZ-Accelerator /path/to/alz-mgmt/ -WhatIf -VerboseExecute
Split-ALZ-Accelerator /path/to/alz-mgmt/- Splits the repo into platform_connectivity and platform_management.
- Refactors module layout and updates module source paths.
- Links shared config where needed.
- Cleans cross-references so each platform is self-contained.
- Normalizes provider settings per platform.
- Applies a few opinionated, minimal config simplifications.
- Idempotent: safe to re-run; skips missing files; continues on errors.
- Preview first with
-WhatIf; add-Verbosefor details. - Windows symlinks may require admin or Developer Mode.
- This tool reorganizes files; it does not run Terraform.