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.

Design

What it does

  • 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) for golden image builds.
  • Keeps secrets out of Terraform state using ephemeral reads and write-only attributes with Azure Key Vault and managed identities.
  • Supports pooled or personal Entra-joined host pools, autoscale, Start VM on Connect, and blue/green host rotation.

Try it in a lab

# Azure Cloud Shell (PowerShell)
if (-not (Test-Path ~/avd-hcl)) { git clone https://github.com/avd-ops/avd-hcl.git ~/avd-hcl }
Set-Location ~/avd-hcl; git checkout -q main; git pull -q --ff-only
Get-Content ./README.md

Full details are in the README.

Read more