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.

avd-hcl

Native Azure Virtual Desktop deployed and operated with Terraform and Packer—the recommended enterprise IaC option alongside Bicep.

More

For enterprise platform teams, Terraform is the stronger IaC option: it orchestrates Azure alongside Entra ID, GitHub, DNS, monitoring, and multi-cloud or SaaS providers in one dependency graph, tracks explicit state for deterministic plan diffs and clean deletion, and standardizes on HCL and mature policy-as-code tooling (decision 0016).

The repo is the source of truth: avd-ops/avd-hcl. This page says where it fits.

What it does

It deploys native AVD infrastructure and golden images using HashiCorp community editions (Terraform and Packer) with Azure Key Vault and managed identities for secrets.

  • Provides modular Terraform roots for the platform, FSLogix storage, Key Vault, monitoring, AVD control plane, session hosts, and Compute Gallery.
  • Uses Packer with Windows Desktop Optimization Tool (WDOT) and optional EUCPilots Evergreen and VcRedist steps (install_evergreen, install_vcredist) for golden image builds.
  • Keeps secrets out of Terraform state using ephemeral reads and write-only attributes.
  • Supports pooled or personal Entra-joined host pools, autoscale, Start VM on Connect, and blue/green host rotation.

How it fits

It is the Terraform and Packer counterpart to avd-landing-zone and avd-azure (which remain Bicep and PowerShell for zero-state Azure-native deployments).

  • Choose avd-hcl when your organization wants multi-provider orchestration, explicit state and deletion tracking, moved refactoring, or already standardizes on Terraform.
  • Choose avd-landing-zone / avd-azure when you are Azure-only and want zero state-file management and Day-0 ARM API support.
  • Checked by avd-current-state and aligned with avd-assess standards.

Read more in the repo

The repo has the full detail. Start here:

Linked from 5 pages