Using

Bicep

Last reviewed

My IaC language for Azure. Readable, first-party, no state file to babysit. I rely on three checks together: snapshots, what-if and stack what-if.

Three checks

Check Good at Falls short
Snapshot The most useful one. It predicts the resources and diffs them against the repo's snapshot, basically a compiler with a diff Doesn't see the cloud or whether anything would change
what-if What would really change in Azure Sadly still comes with a lot of noise
Stack what-if Changes, deletes and detaches in the stack, noise filtered Filters only stacks deployed since 13 Aug 2026
bicep snapshot <config>.bicepparam --mode validate
az deployment sub what-if --location <region> --parameters <config>.bicepparam

The stack what-if command is in Deployment Stacks.

Conventions I use

  • One parameter file per environment
  • Every module version pinned and checked in CI

On the blog

History

  • 15 Nov 2026 Checked against current docs; stack what-if now filters noise.
  • 10 Sep 2026 Reviewed. No change.