1---2name: azure-enterprise-infra-planner3description: Architect and provision enterprise Azure infrastructure from workload descriptions. For cloud architects and platform engineers planning networking, identity, security, compliance, and multi-resource topologies with WAF alignment. Generates Bicep or Terraform directly (no azd). WHEN: 'plan Azure infrastructure', 'architect Azure landing zone', 'design hub-spoke network', 'plan multi-region DR topology', 'set up VNets firewalls and private endpoints', 'subscription-scope Bicep deployment', 'Azure Backup for VM workloads'. PREFER azure-prepare FOR app-centric workflows.4license: MIT5---67# Azure Enterprise Infra Planner89## When to Use This Skill1011Activate this skill when user wants to:12- Plan enterprise Azure infrastructure from a workload or architecture description13- Architect a landing zone, hub-spoke network, or multi-region topology14- Design networking infrastructure: VNets, subnets, firewalls, private endpoints, VPN gateways15- Plan identity, RBAC, and compliance-driven infrastructure16- Generate Bicep or Terraform for subscription-scope or multi-resource-group deployments17- Plan disaster recovery, failover, or cross-region high-availability topologies1819## Quick Reference2021| Property | Details |22|---|---|23| MCP tools | `get_azure_bestpractices_get`, `wellarchitectedframework_serviceguide_get`, `microsoft_docs_fetch`, `microsoft_docs_search`, `bicepschema_get` |24| CLI commands | `az deployment group create`, `az bicep build`, `az resource list`, `terraform init`, `terraform plan`, `terraform validate`, `terraform apply` |25| Output schema | [plan-schema.md](references/plan-schema.md) |26| Key references | [research.md](references/research.md), [resources/](references/resources/README.md), [waf-checklist.md](references/waf-checklist.md), [constraints/](references/constraints/README.md) |2728## Workflow2930Read [workflow.md](references/workflow.md) for detailed step-by-step instructions, including MCP tool usage, CLI commands, and decision points. Follow the phases in order, ensuring all key gates are passed before proceeding to the next phase.3132| Phase | Action | Key Gate |33|-------|--------|----------|34| 1 | Research — WAF Tools | All MCP tool calls complete |35| 2 | Research — Refine & Lookup | Resource list approved by user |36| 3 | Plan Generation | Plan JSON written to disk |37| 4 | Verification | All checks pass, user approves |38| 5 | IaC Generation | `meta.status` = `approved` |39| 6 | Deployment | User confirms destructive actions |4041## MCP Tools4243| Tool | Purpose |44|------|---------|45| `get_azure_bestpractices_get` | Azure best practices for code generation, operations, and deployment |46| `wellarchitectedframework_serviceguide_get` | WAF service guide for a specific Azure service |47| `microsoft_docs_search` | Search Microsoft Learn for relevant documentation chunks |48| `microsoft_docs_fetch` | Fetch full content of a Microsoft Learn page by URL |49| `bicepschema_get` | Bicep schema definition for any Azure resource type (latest API version) |5051## Error Handling5253| Error | Cause | Fix |54|---|---|---|55| MCP tool error or not available | Tool call timeout, connection error, or tool doesn't exist | Retry once; fall back to reference files and notify user if unresolved |56| Plan approval missing | `meta.status` is not `approved` | Stop and prompt user for approval before IaC generation or deployment |57| IaC validation failure | `az bicep build` or `terraform validate` returns errors | Fix the generated code and re-validate; notify user if unresolved |58| Pairing constraint violation | Incompatible SKU or resource combination | Fix in plan before proceeding to IaC generation |59| Infra plan or IaC files not found | Files written to wrong location or not created | Verify files exist at `<project-root>/.azure/` and `<project-root>/infra/`; if missing, re-create the files by following [workflow.md](references/workflow.md) exactly |