Azure-Landing-Zones
Copilot instructions97 starsChanged 11 months agoMITView on GitHub
This file provides context for AI agents and agentic workflows operating across the Azure Landing Zones (ALZ) polyrepo ecosystem. The Azure/Azure-Landing-Zones repo is the centralised documentation hub and issue tracker for the entire ecosystem — it does not contain deployable source code. Scope guidance for agents: If you are editing documentation content in this repo, skip to the "This Repo — Documentation Conventions" section for the rules you need. The ecosystem architecture, deployment flow, and issue triage sections below are…
The file
Show its rules and text
We split this copilot-instructions.md into the rules it gives an agent
22 rules. About 0 are common, 2 are distinctive, and 20 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
20
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 52
All IaC paths share:
- Distinctive: line 192
Not the recommended path for production — lacks state management, drift detection, and CI/CD
- Very specific: line 212
If issue references specific policy names (Deny-*, Deploy-*, Append-*), policy parameters, or compliance results → label Product: Azure …
- Very specific: line 215
If issue mentions archetype names (root, platform, connectivity, identity, management, landing_zones, corp, online, sandbox, …
- Very specific: line 216
If issue mentions alz_architecture data source, provider configuration, or library fetch errors → apply the exact ALZ Provider (Terraform) …
- Very specific: line 217
If issue mentions azapi_resource, management group deployment, or policy role assignment errors → apply the exact Terraform (AVM) product …
- Very specific: line 218
If issue mentions hub VNet, Azure Firewall, VPN/ER gateway, DNS resolver, Bastion, or route tables → apply the exact Hub-and-Spoke …
- Very specific: line 219
If issue mentions vWAN, virtual hub, routing intent → apply the exact Virtual WAN networking topic label from …
- Very specific: line 220
If issue mentions private DNS zones, VNet links, NXDomain redirect → label Topic: Networking (H&S), code lives in …
- Very specific: line 221
If issue contains Go stack traces or library processing/validation errors → code lives in alzlib
- Very specific: line 222
If issue mentions GitHub/ADO repo creation, OIDC federation, state storage, managed identity, pipeline setup → apply the exact Accelerator …
- Very specific: line 223
If issue mentions Deploy-Accelerator, module download failures, or pre-flight check failures → apply the exact ALZ PowerShell product label …
- Very specific: line 224
If issue mentions starter template configuration, .tfvars, example scenarios → apply the exact Accelerator product label from …
- Very specific: line 225
If issue mentions Bicep template errors, YAML configuration, AVM resource module versions → apply the exact Bicep (AVM) product label from …
- Very specific: line 226
If issue mentions legacy Bicep modules → apply the exact Bicep (Classic) product label from utl/github-labels/alz-labels.csv (including any …
- Very specific: line 227
If issue mentions caf-enterprise-scale or legacy Terraform module → label Product: Terraform (Classic), code lives in …
- Very specific: line 228
If issue mentions Azure Portal deployment, ARM templates, or UI definition → label Product: Portal, code lives in Enterprise-Scale
- Very specific: line 229
If issue mentions incorrect docs, missing content, broken links, Hugo rendering → label Area: Documentation, code lives in …
- Very specific: line 230
If the issue author says "ALZ", "landing zone module", or "accelerator" without specifying Terraform or Bicep — look for language clues …
- Very specific: line 306
Use the escaped {{</* ... */>}} form only when you need to display shortcode syntax literally in rendered docs, not when authoring normal …
- Very specific: line 359
All AVM repos use the ./avm CLI tool for pre-commit checks and PR validation
- Very specific: line 360
Run PORCH_NO_TUI=1 ./avm pre-commit then PORCH_NO_TUI=1 ./avm pr-check before PRs
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Azure Landing Zones — Crosscutting Ecosystem Guide
This file provides context for AI agents and agentic workflows operating across the Azure Landing Zones (ALZ) polyrepo ecosystem. The Azure/Azure-Landing-Zones repo is the centralised documentation hub and issue tracker for the entire ecosystem — it does not contain deployable source code.
Scope guidance for agents: If you are editing documentation content in this repo, skip to the "This Repo — Documentation Conventions" section for the rules you need. The ecosystem architecture, deployment flow, and issue triage sections below are background context — use them when triaging issues, answering cross-repo questions, or navigating the polyrepo dependency chain.
Ecosystem Overview
Azure Landing Zones is a multi-repo platform-engineering framework that deploys enterprise-scale Azure governance, networking, and management infrastructure. It supports four deployment paths:
- Terraform (AVM) — Current recommended IaC path using HashiCorp Registry AVM pattern modules and underlying resource modules
- Bicep (AVM) — Current recommended IaC path using Bicep public registry AVM modules
- Azure Portal — No-code deployment via custom portal experience in Enterprise-Scale repo
- Terraform (Classic) / Bicep (Classic) — Legacy paths in maintenance mode
The ALZ-PowerShell-Module (Deploy-Accelerator cmdlet), which uses the Accelerator Bootstrap Modules, is the recommended entry point for IaC deployments.
However, it is not the only option—customers can also consume the AVM modules directly from the HashiCorp Registry or the Bicep public registry without using the accelerator orchestration.
Both Terraform and Bicep AVM accelerators compose Azure Verified Modules (AVM) — reusable, tested resource and pattern modules from the public registries — rather than implementing Azure resources from scratch.
Polyrepo Architecture
The ecosystem is layered. Understanding the dependency chain is essential for navigating issues, making changes, and knowing where code lives.
graph TD
PSModule["ALZ-PowerShell-Module<br/>(Deploy-Accelerator cmdlet)"]
PSModule --> TFPath["Terraform (AVM) Path"]
PSModule --> BicepPath["Bicep AVM Path"]
PSModule --> ClassicPath["Bicep Classic Path (Legacy)"]
TFPath --> TFAccel["alz-terraform-accelerator<br/>(starter templates)"]
BicepPath --> BicepAccel["alz-bicep-accelerator<br/>(starter templates)"]
ClassicPath --> ALZBicep["ALZ-Bicep<br/>(maintenance only)"]
TFAccel -- "uses AVM pattern<br/>& resource modules" --> TFModules["Terraform AVM Pattern Modules<br/>(HashiCorp Registry:<br/>avm-ptn-alz, avm-ptn-alz-connectivity-*,<br/>avm-ptn-network-private-link-*,<br/>avm-ptn-alz-management, avm-res-*)"]
BicepAccel -- "uses AVM resource<br/>& pattern modules" --> BicepModules["Bicep AVM Modules<br/>(br/public:avm/ptn/alz/empty,<br/>ptn/alz/ama, ptn/network/private-link-*,<br/>res/network/*, res/resources/*, etc.)"]
TFModules -- "uses alz provider" --> TFProvider["terraform-provider-alz<br/>(data source provider)"]
TFProvider -- "built on" --> alzlib["alzlib<br/>(Go library + alzlibtool CLI)"]
BicepModules -- "uses alzlibtool CLI +<br/>custom PowerShell" --> alzlib
alzlib -- "reads from" --> Library["Azure-Landing-Zones-Library<br/>(policy defs, archetypes,<br/>architectures, role defs)"]
Library -- "policies sourced from" --> ES["Enterprise-Scale<br/>(upstream policy source +<br/>Azure Portal experience)"]
ALZBicep -- "pulls policies via<br/>custom PowerShell scripts" --> ESThe Azure Portal path is independent of the dependency stack shown above — see the Deployment Flow section for its details.
All IaC paths share:
- accelerator-bootstrap-modules — Terraform modules that create CI/CD infrastructure (GitHub Actions, Azure DevOps, or local) with OIDC authentication, state storage, and managed identities.
- Azure-Landing-Zones (this repo) — Centralised technical documentation and issue tracking.
Repository Reference
This Repo — Azure-Landing-Zones (Documentation & Issues)
| Attribute | Detail |
| Purpose | Technical documentation site (https://aka.ms/alz/techdocs) and centralised issue tracker for the ALZ ecosystem |
| Tech stack | Hugo (Extended) with hugo-geekdoc theme |
| Content | Markdown with YAML front matter in docs/content/ |
| Templates | Go HTML templates in docs/layouts/ |
| Config | TOML (docs/hugo.toml) |
| Utilities | PowerShell scripts in utl/ |
| Build | make server or cd docs && hugo server |
| GitHub | Azure/Azure-Landing-Zones |
Documentation site structure (docs/content/):
accelerator/— ALZ Accelerator guides (bootstrap, deployment, customisation)bicep/— Bicep module documentationterraform/— Terraform module documentationbootstrap/— Bootstrap infrastructure setuppolicy/— Azure Policy documentationsub-vending/— Subscription vendingknown-issues/— Known issues and workaroundsfaq/— Frequently asked questionswhats-new/— Release notes and updatesarchive/— Archived/deprecated content
Policy & Library Layer
| Repository | GitHub | Purpose |
| Enterprise-Scale | Azure/Enterprise-Scale | Upstream source of truth for Azure Policy definitions. Policies are authored here and synced to the Library. Also contains the custom Azure Portal deployment experience (eslzArm/ ARM templates + eslz-portal.json UI definition) — an alternative no-code path for customers who don't want IaC. Also contains legacy ARM reference implementations. |
| Azure-Landing-Zones-Library | Azure/Azure-Landing-Zones-Library | Versioned library of ALZ assets consumed by all IaC tooling. Contains policy definitions, policy set definitions, policy assignments, role definitions, archetype definitions (groupings of policies/roles per management group type), and architecture definitions (management group hierarchies). Organised under platform/alz/, platform/amba/ (Azure Monitor Baseline Alerts), and platform/slz/ (Sovereign Landing Zone). |
Go Toolchain
| Repository | GitHub | Purpose |
| alzlib | Azure/alzlib | Go library that fetches, validates, and processes Library data. Resolves archetype/architecture definitions, validates policy assignability, calculates role assignments for DeployIfNotExists/Modify policies. Also provides alzlibtool CLI — used by both the Terraform provider and the Bicep AVM accelerator (via custom PowerShell scripts) to pull policy/role data from the Library. Key types: AlzLib, Archetype, Architecture, ArchitectureManagementGroup. |
| terraform-provider-alz | Azure/terraform-provider-alz | Terraform provider built on alzlib. Exposes alz_architecture and alz_metadata data sources — generates management group hierarchies, policy definitions, policy assignments, and role definitions as Terraform-consumable data. Does NOT manage Azure resources directly; output is consumed by AVM modules via AzAPI. |
Terraform AVM Pattern Modules
| Repository | GitHub | HashiCorp Registry Source | Purpose |
| avm-ptn-alz | Azure/terraform-azurerm-avm-ptn-alz | Azure/avm-ptn-alz/azurerm | Deploys full ALZ governance: management group hierarchy (7 levels), policy definitions, policy set definitions, policy assignments, role definitions, role assignments, subscription placement. Uses the alz provider's alz_architecture data source. |
| avm-ptn-alz-connectivity-hub-and-spoke-vnet | Azure/terraform-azurerm-avm-ptn-alz-connectivity-hub-and-spoke-vnet | Azure/avm-ptn-alz-connectivity-hub-and-spoke-vnet/azurerm | Hub & spoke networking: hub VNets, Azure Firewall, VPN/ExpressRoute gateways, route tables, DNS resolvers, Bastion, DDoS protection, VNet peering. |
| avm-ptn-alz-connectivity-virtual-wan | Azure/terraform-azurerm-avm-ptn-alz-connectivity-virtual-wan | Azure/avm-ptn-alz-connectivity-virtual-wan/azurerm | Virtual WAN networking: vWAN, virtual hubs, sidecar VNets, Azure Firewall, VPN/ER gateways, DNS resolvers, Bastion, routing intents. |
| avm-ptn-network-private-link-private-dns-zones | Azure/terraform-azurerm-avm-ptn-network-private-link-private-dns-zones | Azure/avm-ptn-network-private-link-private-dns-zones/azurerm | Deploys all known Azure Private Link private DNS zones with VNet links and NXDomain redirect support. Used by connectivity modules. |
Bicep AVM Modules
The Bicep AVM accelerator composes 19 Azure Verified Modules (3 pattern + 16 resource) from the Bicep public registry (br/public:avm/...). Each module is independently versioned, tested, and maintained. See the Bicep AVM for Platform Landing Zone blog post for the full announcement.
Governance (Management Groups):
| Component | Bicep Registry Module | Type |
| Management group hierarchy (int-root, platform, connectivity, identity, management, security, landing zones, corp, online, sandbox, decommissioned) | br/public:avm/ptn/alz/empty | Pattern |
Logging:
| Component | Bicep Registry Module | Type |
| Resource Groups | br/public:avm/res/resources/resource-group | Resource |
| Log Analytics Workspace | br/public:avm/res/operational-insights/workspace | Resource |
| Azure Monitoring Agent | br/public:avm/ptn/alz/ama | Pattern |
Hub & Spoke Networking:
| Component | Bicep Registry Module | Type |
| Virtual Networks | br/public:avm/res/network/virtual-network | Resource |
| Azure Firewall | br/public:avm/res/network/azure-firewall, br/public:avm/res/network/firewall-policy | Resource |
| Azure Bastion | br/public:avm/res/network/bastion-host, br/public:avm/res/network/network-security-group | Resource |
| VPN Gateway | br/public:avm/res/network/virtual-network-gateway | Resource |
| ExpressRoute Gateway | br/public:avm/res/network/virtual-network-gateway | Resource |
| Route Tables | br/public:avm/res/network/route-table | Resource |
| DDoS Protection | br/public:avm/res/network/ddos-protection-plan | Resource |
| Private DNS Zones | br/public:avm/ptn/network/private-link-private-dns-zones | Pattern |
| DNS Private Resolver | br/public:avm/res/network/dns-resolver | Resource |
Virtual WAN Networking:
| Component | Bicep Registry Module | Type |
| Virtual WAN | br/public:avm/res/network/virtual-wan | Resource |
| Virtual Hubs | br/public:avm/res/network/virtual-hub | Resource |
| ExpressRoute Gateway | br/public:avm/res/network/express-route-gateway | Resource |
| VPN Gateway (S2S) | br/public:avm/res/network/vpn-gateway | Resource |
| VPN Gateway (P2S) | br/public:avm/res/network/p2s-vpn-gateway | Resource |
| Sidecar VNet | br/public:avm/res/network/virtual-network | Resource |
| Azure Firewall | br/public:avm/res/network/azure-firewall, br/public:avm/res/network/firewall-policy | Resource |
| Azure Bastion | br/public:avm/res/network/bastion-host, br/public:avm/res/network/public-ip-address | Resource |
| DDoS Protection | br/public:avm/res/network/ddos-protection-plan | Resource |
| Private DNS Zones | br/public:avm/ptn/network/private-link-private-dns-zones | Pattern |
| DNS Private Resolver | br/public:avm/res/network/dns-resolver | Resource |
Accelerators & Orchestration
| Repository | GitHub | Purpose |
| alz-terraform-accelerator | Azure/alz-terraform-accelerator | Terraform starter templates for platform landing zones. Contains templates/platform_landing_zone/ (full deployment with examples for hub-spoke, vWAN, multi-region, NVA, SMB, sovereign), templates/empty/ (minimal starter), and local library overrides in lib/. Composes AVM pattern modules (avm-ptn-alz, avm-ptn-alz-connectivity-*, avm-ptn-alz-management) and AVM resource modules (avm-res-resources-resourcegroup, avm-utl-regions) from the HashiCorp Registry. |
| alz-bicep-accelerator | Azure/alz-bicep-accelerator | Bicep AVM starter templates for platform landing zones. Configuration-driven via YAML. Supports hub & spoke and Virtual WAN. Composes 19 AVM modules from the Bicep public registry (see Bicep AVM Modules section above). Pulls policy definitions, role definitions, and assignments from the Azure-Landing-Zones-Library using alzlibtool CLI and custom PowerShell tooling (templates/core/governance/tooling/Update-AlzLibraryReferences.ps1). |
| ALZ-Bicep (Classic) | Azure/ALZ-Bicep | Legacy Bicep modules for ALZ. In maintenance mode — new deployments should use alz-bicep-accelerator instead. |
| caf-enterprise-scale (Classic) | Azure/terraform-azurerm-caf-enterprise-scale | Legacy Terraform module for ALZ (Terraform Classic). In maintenance mode — new deployments should use the AVM-based alz-terraform-accelerator and avm-ptn-alz module instead. |
| accelerator-bootstrap-modules | Azure/accelerator-bootstrap-modules | Terraform modules that bootstrap CI/CD infrastructure. Supports three platforms: GitHub Actions (alz/github/), Azure DevOps (alz/azuredevops/), and local filesystem (alz/local/). Creates managed identities with OIDC federation, state storage, networking, repositories, pipelines, and branch policies. |
| ALZ-PowerShell-Module | Azure/ALZ-PowerShell-Module | PowerShell module (ALZ) that orchestrates the end-to-end accelerator experience — the recommended (but not exclusive) entry point. Key cmdlet: Deploy-Accelerator — downloads bootstrap modules, renders configuration, executes Terraform/Bicep deployment. Also provides Test-AcceleratorRequirement, New-AcceleratorFolderStructure, and cleanup cmdlets. Requires PowerShell 7.4+. Customers can alternatively consume the AVM modules directly from the Terraform Registry or Bicep public registry without this orchestration layer. |
Deployment Flow (How It All Stitches Together)
End-to-End Terraform Deployment
- User runs
Deploy-Acceleratorfrom ALZ-PowerShell-Module - Module downloads accelerator-bootstrap-modules release
- Bootstrap creates CI/CD infrastructure (GitHub/ADO/Local) with OIDC, state storage, managed identities
- Module downloads alz-terraform-accelerator starter template
- Starter template uses avm-ptn-alz module → which calls terraform-provider-alz → which uses alzlib → which fetches Azure-Landing-Zones-Library
- Starter template also uses connectivity modules (hub-and-spoke-vnet or virtual-wan) and private-dns-zones
- CI/CD pipeline runs
terraform plan/applyagainst Azure
End-to-End Bicep AVM Deployment
- User runs
Deploy-Acceleratorfrom ALZ-PowerShell-Module - Bootstrap infrastructure created via accelerator-bootstrap-modules (same as Terraform)
- Module downloads alz-bicep-accelerator starter template
- Starter template uses Bicep public registry AVM resource and pattern modules (
br/public:avm/res/...,br/public:avm/ptn/...) - Policy/role definitions are pulled from Azure-Landing-Zones-Library using
alzlibtoolCLI + custom PowerShell (Update-AlzLibraryReferences.ps1) - Configuration driven by YAML files (e.g.,
platform-landing-zone.yaml) - CI/CD pipeline runs Bicep deployment against Azure
Azure Portal Deployment (No-Code)
- User navigates to aka.ms/alz/portal
- Custom Azure Portal UI (
eslz-portal.json) in Enterprise-Scale repo guides configuration - ARM templates (
eslzArm/eslzArm.json) deploy directly to Azure — no IaC tooling required - Not the recommended path for production — lacks state management, drift detection, and CI/CD
Data Flow: Policies → Deployment
graph TD
ES["Enterprise-Scale<br/>(policy authoring)"] -- sync --> Library["Azure-Landing-Zones-Library<br/>(platform/alz@YYYY.MM.N)"]
Library -- go-getter fetch --> alzlib["alzlib<br/>(parse, validate, resolve<br/>archetypes + architectures)"]
alzlib -- "Terraform path" --> TFProvider["terraform-provider-alz<br/>(data 'alz_architecture')"] --> avmptn["avm-ptn-alz"]
alzlib -- "Bicep AVM path" --> alzlibtool["alzlibtool CLI +<br/>PowerShell scripts"] --> BicepAccel["alz-bicep-accelerator"]Library versioning format: platform/{library}@{YYYY.MM.patch} (e.g., platform/alz@2026.01.3).
Issue Triage Routing
This repo (Azure/Azure-Landing-Zones) is the centralised issue tracker. Most ALZ ecosystem repos redirect their issues here. When triaging, identify the source repo where the fix would be applied.
Triage rules — apply the first matching rule:
- If issue references specific policy names (
Deny-*,Deploy-*,Append-*), policy parameters, or compliance results → labelProduct: Azure Policy+Topic: Policy, code lives inEnterprise-Scale(synced toAzure-Landing-Zones-Library)
Label accuracy requirement: When triaging, use the exact GitHub label names defined in
utl/github-labels/alz-labels.csv. If a label in that file includes an emoji suffix, the emoji suffix is part of the label name and must be included exactly.
- If issue mentions archetype names (root, platform, connectivity, identity, management, landing_zones, corp, online, sandbox, decommissioned) or which policies apply to which MG → apply the exact Library product label from
utl/github-labels/alz-labels.csv(including any emoji suffix), code lives inAzure-Landing-Zones-Library - If issue mentions
alz_architecturedata source, provider configuration, or library fetch errors → apply the exact ALZ Provider (Terraform) product label fromutl/github-labels/alz-labels.csv(including any emoji suffix), code lives interraform-provider-alz - If issue mentions
azapi_resource, management group deployment, or policy role assignment errors → apply the exact Terraform (AVM) product label fromutl/github-labels/alz-labels.csv(including any emoji suffix), code lives interraform-azurerm-avm-ptn-alz - If issue mentions hub VNet, Azure Firewall, VPN/ER gateway, DNS resolver, Bastion, or route tables → apply the exact Hub-and-Spoke networking topic label from
utl/github-labels/alz-labels.csv(including any emoji suffix), code lives interraform-azurerm-avm-ptn-alz-connectivity-hub-and-spoke-vnet - If issue mentions vWAN, virtual hub, routing intent → apply the exact Virtual WAN networking topic label from
utl/github-labels/alz-labels.csv(including any emoji suffix), code lives interraform-azurerm-avm-ptn-alz-connectivity-virtual-wan - If issue mentions private DNS zones, VNet links, NXDomain redirect → label
Topic: Networking (H&S), code lives interraform-azurerm-avm-ptn-network-private-link-private-dns-zones - If issue contains Go stack traces or library processing/validation errors → code lives in
alzlib - If issue mentions GitHub/ADO repo creation, OIDC federation, state storage, managed identity, pipeline setup → apply the exact Accelerator product label from
utl/github-labels/alz-labels.csv(including any emoji suffix), code lives inaccelerator-bootstrap-modules - If issue mentions
Deploy-Accelerator, module download failures, or pre-flight check failures → apply the exact ALZ PowerShell product label fromutl/github-labels/alz-labels.csv(including any emoji suffix), code lives inALZ-PowerShell-Module - If issue mentions starter template configuration,
.tfvars, example scenarios → apply the exact Accelerator product label fromutl/github-labels/alz-labels.csv(including any emoji suffix), code lives inalz-terraform-accelerator - If issue mentions Bicep template errors, YAML configuration, AVM resource module versions → apply the exact Bicep (AVM) product label from
utl/github-labels/alz-labels.csv(including any emoji suffix), code lives inalz-bicep-accelerator - If issue mentions legacy Bicep modules → apply the exact Bicep (Classic) product label from
utl/github-labels/alz-labels.csv(including any emoji suffix), code lives inALZ-Bicep - If issue mentions
caf-enterprise-scaleor legacy Terraform module → labelProduct: Terraform (Classic), code lives interraform-azurerm-caf-enterprise-scale - If issue mentions Azure Portal deployment, ARM templates, or UI definition → label
Product: Portal, code lives inEnterprise-Scale - If issue mentions incorrect docs, missing content, broken links, Hugo rendering → label
Area: Documentation, code lives inAzure-Landing-Zones(this repo) - If the issue author says "ALZ", "landing zone module", or "accelerator" without specifying Terraform or Bicep — look for language clues (
.tf/.tfvars= Terraform,.bicep/.yaml= Bicep) before routing. If ambiguous, ask for clarification. - If the issue is about a missing feature, bug, or unsupported property in an underlying AVM module (e.g.,
br/public:avm/res/network/virtual-networkorAzure/avm-ptn-alz/azurerm) rather than in ALZ-specific code → labelNeeds: External Changes :gear:and direct the user to open the issue against the specific AVM module repo (Bicep:Azure/bicep-registry-modules, Terraform: the relevantAzure/terraform-azurerm-avm-*repo). Include the appropriate product label (e.g.,Product: Bicep (AVM)orProduct: Terraform (AVM)) so the issue is still tracked.
Issue Labels
Issues are classified using a structured label taxonomy with four categories:
Product labels (which component/path is affected):
Use the exact GitHub label name from
utl/github-labels/alz-labels.csvwhen applying labels. The product labels in this repo include emoji suffixes (for example,Product: Accelerator :zap:andProduct: Azure Policy :shield:), so do not use shortened names without the emoji.
Product label family (use exact label from utl/github-labels/alz-labels.csv) | Maps To |
| Accelerator | accelerator-bootstrap-modules, alz-terraform-accelerator, alz-bicep-accelerator |
| ALZ PowerShell | ALZ-PowerShell-Module |
| ALZ Provider (Terraform) | terraform-provider-alz |
| Azure Policy | Enterprise-Scale (policy authoring) → Azure-Landing-Zones-Library |
| Bicep (AVM) | alz-bicep-accelerator |
| Bicep (Classic) | ALZ-Bicep |
| Library | Azure-Landing-Zones-Library |
| Portal | Enterprise-Scale (portal deployment experience) |
| Sub/LZ Vending (Bicep) | Bicep subscription vending module |
| Sub/LZ Vending (TF) | Terraform subscription vending module |
| Terraform (AVM) | terraform-azurerm-avm-ptn-alz, connectivity modules |
| Terraform (Classic) | terraform-azurerm-caf-enterprise-scale |
Topic labels (what area of ALZ infrastructure; exact GitHub label names, including emoji suffixes, are defined in utl/github-labels/alz-labels.csv):
| Topic area | Scope |
| Topic: Policy | Policy definitions, assignments, compliance |
| Topic: RBAC | Role definitions, role assignments, permissions |
| Topic: Management Groups | MG hierarchy, structure, archetype mappings |
| Topic: Networking (general) | Networking agnostic to topology |
| Topic: Networking (H&S) | Hub & spoke topology specific |
| Topic: Networking (VWAN) | Virtual WAN topology specific |
| Topic: MDFC | Microsoft Defender for Cloud |
| Topic: Logging & Automation | Log Analytics, Automation accounts |
| Topic: Diagnostic Settings | Diagnostic settings configuration |
| Topic: Sovereign | Microsoft Sovereign Cloud |
| Topic: Non-Resource Specific | Cross-cutting (tags, location, etc.) |
Status labels (workflow state):
Needs: Triage :mag:— New issue, not yet classifiedNeeds: Attention :wave:— Requires maintainer actionNeeds: Author Feedback :ear:— Waiting on issue authorNeeds: More Evidence :balance_scale:— Needs reproduction or dataNeeds: External Changes :gear:— Requires changes outside this repoNeeds: Upstream Policy Changes :arrows_clockwise:— Built-in policy update needed from Azure product teamStatus: Blocked :collision:— Blocked by external dependencyStatus: Do Not Merge :no_entry:— PR is not ready to mergeStatus: Long Term :hourglass:— Planned but lower priorityStatus: No Recent Activity :zzz:— Auto-close candidateStatus: Help Wanted :sos:— Open for community contributionStatus: External Contribution :earth_americas:— Being worked on by non-core contributorStatus: PR Modified Workflows :warning:— PR contains changes to GitHub Actions Workflows
Transfer labels (provenance tracking — which repo the issue was transferred from):
Transfer From: Azure-Landing-Zones :arrow_right:,Transfer From: Enterprise-Scale :arrow_right:,Transfer From: ALZ Library :arrow_right:,Transfer From: alzlib :arrow_right:,Transfer From: alz-tf-accelerator :arrow_right:,Transfer From: alz-bicep-accelerator :arrow_right:,Transfer From: alz-powershell-module :arrow_right:,Transfer From: accel-bstrap-modules :arrow_right:,Transfer From: ALZ-Bicep :arrow_right:,Transfer From: caf-enterprise-scale :arrow_right:,Transfer From: TF avm-ptn-alz :arrow_right:,Transfer From: TF avm-ptn-alz-mgmt :arrow_right:,Transfer From: TF avm-ptn-con-hs :arrow_right:,Transfer From: TF avm-ptn-con-vwan :arrow_right:,Transfer From: TF avm-ptn-lz-vend :arrow_right:,Transfer From: tf-state-importer :arrow_right:
This Repo — Documentation Conventions
Hugo Site
- Site URL: https://aka.ms/alz/techdocs
- Build:
make serverorcd docs && hugo server - Theme: hugo-geekdoc
- Output formats: HTML, RSS, TXT (LLM-friendly)
Content Conventions
- Most content uses YAML front matter with
title; useweightwhere sidebar ordering matters, andgeekdocCollapseSectionwhere needed - Section indexes are
_index.mdfiles — useweighton them when you need to control sidebar ordering - Internal links use
{{< relref "page-name" >}}shortcode, never raw paths - Callouts use
{{< hint type=note|tip|important|warning >}}shortcode - Use the escaped
{{</* ... */>}}form only when you need to display shortcode syntax literally in rendered docs, not when authoring normal content
Custom Shortcodes
{{< csv-table >}}— Renders CSV data as HTML tables{{< expand "title" >}}— Expandable/collapsible sections{{< include "file" >}}— Include content from another file
Templates & Layouts
docs/layouts/— Custom shortcodes, partials (llms-section-tree), and LLM-friendly TXT output templates
Utilities
utl/— PowerShell scripts for cost estimation and GitHub label management- PowerShell scripts should use
[CmdletBinding()],param(), comment-based help, and$ErrorActionPreference = "Stop"
Do NOT in This Repo
- Do not create Terraform (
.tf), Bicep (.bicep), Go (.go), or ARM JSON files — all deployable IaC code lives in the other ecosystem repos, not here - Do not modify policy definitions — policies are authored in
Enterprise-Scaleand synced to the Library - Do not hardcode internal doc links — always use
{{< relref "page-name" >}} - Do not place documentation pages outside
docs/content/— page content belongs under that tree, but legitimate Hugo site changes may also be needed underdocs/layouts/,docs/static/,docs/data/, and similar support directories
Agents
- Hugo Documentation Site — Maintains documentation with Hugo, geekdoc theme, Markdown content, Go templates, and PowerShell utilities
Cross-Repo Development Notes
Language/Tool Map
| Repository | Primary Language | Build/Test |
| Azure-Landing-Zones | Hugo (Markdown, Go templates, TOML) | make server |
| Azure-Landing-Zones-Library | JSON/YAML (policy defs, schemas) | make, shell scripts |
| Enterprise-Scale | ARM JSON, Bicep, Policy JSON | — |
| alzlib | Go | go test, go build |
| terraform-provider-alz | Go (Terraform Plugin Framework) | go test, make |
| avm-ptn-alz | Terraform (HCL) | ./avm pre-commit, ./avm pr-check |
| avm-ptn-alz-connectivity-* | Terraform (HCL) | ./avm pre-commit, ./avm pr-check |
| avm-ptn-network-private-link-* | Terraform (HCL) | ./avm pre-commit, ./avm pr-check |
| alz-terraform-accelerator | Terraform (HCL), PowerShell | make fmt, make fmtcheck |
| alz-bicep-accelerator | Bicep, YAML, PowerShell, Go (tests) | GitHub Actions workflows |
| accelerator-bootstrap-modules | Terraform (HCL) | make |
| ALZ-PowerShell-Module | PowerShell | Invoke-Build, Pester tests |
Azure Verified Modules (AVM) Reference
- LLM-friendly AVM documentation: https://azure.github.io/Azure-Verified-Modules/llms.txt — fetch this for up-to-date AVM guidance, module indexes, contribution rules, and naming conventions.
AVM Module Conventions (Terraform repos)
- All AVM repos use the
./avmCLI tool for pre-commit checks and PR validation - Run
PORCH_NO_TUI=1 ./avm pre-committhenPORCH_NO_TUI=1 ./avm pr-checkbefore PRs - Provider version constraints: pessimistic (
~> X.0); module versions: pin exactly (version = "X.Y.Z") - Telemetry: always map
enable_telemetry = var.enable_telemetry
Azure landing zone (ALZ) Reference
- LLM-friendly ALZ documentation: https://azure.github.io/Azure-Landing-Zones/llms.txt — fetch this for up-to-date technical documentation on the accelerator, deployment scenarios, configuration options, and related topics.
- ALZ architecture, design principles, and design recommendations: https://learn.microsoft.com/azure/cloud-adoption-framework/ready/landing-zone/ — use the
mslearnMCP server to query this content. Fall back to fetching only if the MCP server is unavailable or returns an error.
Conventional Commits
ALZ ecosystem repos use conventional commit format: type(scope): description (e.g., fix(policy): correct DDoS assignment parameters)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

