Test Before You Deploy; How to Test Your ARM Deployments
summary
arm-ttk is a Pester-based PowerShell test toolkit that validates Azure Resource Manager (ARM) templates beyond syntax by running local tests without calling Azure. It detects unused parameters/variables, warns about stale API versions (with examples), enforces patterns like using location expressions, allows custom .ps1 tests, exports test reports, and integrates in CI to fail pipelines via GitHub Actions or Azure DevOps (including a Dockerized runner).
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:12ARM deployment issues
- 6:12ARM TTK overview
- 8:23ARM TTK demo
- 11:20Unit tests with Pester
- 16:34GitHub Actions integration
- 27:17Automated testing benefits
- 28:04Azure DevOps integration
- 31:42Conclusion
- 34:38Q&A
related talks
35mIaC Automated Assurance
46mLeverage from Pester to automate Azure Storage Account testing
47mInfrastructure Testing explained
58mWho tests their cloud code anyway?
03h 02mPowerShell Unit and Infrastructure Testing
01h 05mIaC Forged in Code: ARM/Bicep vs Terraform vs Pulumi
42mYour Microsoft 365 test automation framework
40mWho tests their cloud code anyway?
