azure-validate

Validate Azure deployment readiness with pre-deployment and policy checks.

242|189|Updated Oct 28, 2024
One-click install
npx skills add https://github.com/microsoft/GitHub-Copilot-for-Azure --skill azure-validate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-validate
Source: https://github.com/microsoft/GitHub-Copilot-for-Azure/tree/main/plugin/skills/azure-validate
Command: npx skills add https://github.com/microsoft/GitHub-Copilot-for-Azure --skill azure-validate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Azure deployments often fail late due to misconfigurations, missing prerequisites, or policy violations. azure-validate prevents deployment surprises by performing pre-deployment validations and policy checks.

Core Features & Use Cases

  • Pre-deployment readiness checks: validate azure.yaml and IaC templates before deployment.
  • Policy and recipe validations: run Azure policy validations and recipe-based checks across AZCLI, AZD, Bicep, and Terraform workflows.
  • Deployment gating: provide actionable guidance to fix issues and gate deployment until all checks pass.

Quick Start

Run azure-validate after azure-prepare and before azure-deploy to confirm readiness.

Frequently Asked Questions about azure-validate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate Bicep and Terraform templates before deploying to Azure?

You can validate Bicep and Terraform templates by running pre-deployment checks against your azure.yaml manifest, executing recipe-based validations and policy checks to confirm readiness before deployment.

What is Azure preflight validation and how does it prevent deployment failures?

Azure preflight validation runs pre-deployment checks and policy validations on IaC configurations to catch misconfigurations, missing prerequisites, or policy violations early, gating deployment until all checks pass.

Does Azure deployment validation work with both AZCLI and AZD workflows?

Yes, Azure deployment validation covers checks across AZCLI, AZD, Bicep, and Terraform workflows, loading the deployment manifest and executing recipe-based validations to gate deployment.

When should I run pre-deployment policy checks in my Azure IaC workflow?

You should run pre-deployment policy checks after preparing your environment and before executing the actual deployment, ensuring your azure.yaml and IaC templates pass all readiness validations.

Why do my Azure deployments fail late due to policy violations and misconfigurations?

Azure deployments fail late when pre-deployment validations are skipped, allowing misconfigurations, missing prerequisites, and policy violations in IaC templates to surface only during the actual deployment process.

Can I gate Azure deployments until all preflight checks pass?

Yes, you can gate Azure deployments by updating the deployment manifest status with actionable guidance, ensuring deployment only proceeds after all pre-deployment checks and policy validations pass successfully.