What problem does it solve?
This Skill prevents deployment failures and unexpected infrastructure changes by performing comprehensive preflight validation of Bicep deployments to Azure, including syntax checks, what-if analysis, and permission verification.
Core Features & Use Cases
- Syntax Validation: Checks Bicep files for syntax errors before deployment.
- What-If Analysis: Previews all resource changes (create, modify, delete) that will occur during deployment.
- Permission Checks: Verifies if the user has the necessary Azure RBAC permissions.
- Project Type Detection: Supports both Azure Developer CLI (
azd) and standalone Azure CLI (az) workflows.
- Use Case: Before deploying a new set of Azure resources using Bicep, use this skill to ensure the template is syntactically correct, preview the exact changes, and confirm you have the permissions to deploy, thus avoiding costly errors and downtime.
Quick Start
Use the azure-deployment-preflight skill to validate the Bicep files in the current directory before deploying to Azure.