Drift: detect, then correct
Template is the source of truth; live Azure can diverge
TEMPLATE (desired)
main.bicep
storage: Standard_LRS
container: raw
LIVE AZURE (now)
hand edit
storage: Premium_LRS
≠ template (drift)
drift
1. Detection — what-if
Compare template vs live. Shows the gap before you change anything.
2. Correction — re-deploy
Brings templated resources back in line (SKU, deleted account…).
Does not auto-delete extras created outside the template.