Devops
33 installs
Azure Deployment Preflight Validation
by github/awesome-copilot
Performs comprehensive preflight validation of Bicep deployments to Azure, including template syntax validation, what-if analysis, and permission checks. Use…
Skill content
Validates Bicep deployments to Azure before execution, detecting syntax errors, permission issues, and previewing infrastructure changes. - Supports both Azure CLI (az) and Azure Developer CLI (azd) workflows, auto-detecting project type via azure.yaml - Runs Bicep syntax validation, what-if analysis across all deployment scopes (resource group, subscription, management group, tenant), and permission checks with fallback to reduced-permission validation - Captures detailed what-if results categorizing resources as create, delete, modify, or unchanged, with specific property changes for modified resources - Generates a structured Markdown report in the project root documenting all validation steps, issues, recommendations, and deployment preview Azure Deployment Preflight Validation This skill validates Bicep deployments before execution, supporting both Azure CLI (az) and Azure Developer CLI (azd) workflows. When to Use This Skill - Before deploying infrastructure to Azure - When preparing or reviewing Bicep files - To preview what changes a deployment will make - To verify permissions are sufficient for deployment - Before running azd up, azd provision, or az deployment commands Validation Process Follow these steps in order. Continue to the next step even if a previous step fails-capture all issues in the final report. Step 1: Detect Project Type Determine the deployment workflow by checking for project indicators: