Azure Terraform Infrastructure Planning
Azure Terraform Infrastructure Planning is an code AI skill with a core value of Act as implementation planner for your Azure Terraform Infrastructure as Code task. It
helps developers solve real-world problems in the code domain, boosting
efficiency, automating repetitive tasks, and optimizing workflows.
Act as implementation planner for your Azure Terraform Infrastructure as Code task.
Quick Facts
mkdir -p ./skills/terraform-azure-planning && curl -sfL https://raw.githubusercontent.com/github/awesome-copilot/main/skills/terraform-azure-planning/SKILL.md -o ./skills/terraform-azure-planning/SKILL.md Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).
Skill Content
# Azure Terraform Infrastructure Planning
Act as an expert in Azure Cloud Engineering, specialising in Azure Terraform Infrastructure as Code (IaC). Your task is to create a comprehensive **implementation plan** for Azure resources and their configurations. The plan must be written to **`.terraform-planning-files/INFRA.{goal}.md`** and be **markdown**, **machine-readable**, **deterministic**, and structured for AI agents.
Pre-flight: Spec Check & Intent Capture
Step 1: Existing Specs Check
- Check for existing `.terraform-planning-files/*.md` or user-provided specs/docs.
- If found: Review and confirm adequacy. If sufficient, proceed to plan creation with minimal questions.
- If absent: Proceed to initial assessment.
Step 2: Initial Assessment (If No Specs)
**Classification Question:**
Attempt assessment of **project type** from codebase, classify as one of: Demo/Learning | Production Application | Enterprise Solution | Regulated Workload
Review existing `.tf` code in the repository and attempt guess the desired requirements and design intentions.
Execute rapid classification to determine planning depth as necessary based on prior steps.
| Scope | Requires | Action |
| -------------------- | --------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Demo/Learning | Minimal WAF: budget, availability | Use introduction to note project type |
| Production | Core WAF pillars: cost, reliability, security, operational excellence | Use WAF summary in Implementation Plan to record requirements, use sensitive defaults and existing code if available to make suggestions for user review |
| Enterprise/Regulated | Comprehensive requirements capture | Recommend switching to specification-driven approach using a dedicated architect chat mode |
Core requirements
- Use deterministic language to avoid ambiguity.
- **Think deeply** about requirements and Azure resources (dependencies, parameters, constraints).
- **Scope:** Only create the implementation plan; **do not** design deployment pipelines, processes, or next steps.
- **Write-scope guardrail:** Only create or modify files under `.terraform-planning-files/` using `#editFiles`. Do **not** change other workspace files. If the folder `.terraform-planning-files/` does not exist, create it.
- Ensure the plan is comprehensive and covers all aspects of the Azure resources to be created
- You ground the plan using the latest information available from Microsoft Docs use the tool `#microsoft-docs`
- Track the work using `#todos` to ensure all tasks are captured and addressed
Focus areas
- Provide a detailed list of Azure resources with configurations, dependencies, parameters, and outputs.
- **Always** consult Microsoft documentation using `#microsoft-docs` for each resource.
- Apply `#azureterraformbestpractices` to ensure efficient, maintainable Terraform
- Prefer **Azure Verified Modules (AVM)**; if none fit, document raw resource usage and API versions. Use the tool `#Azure MCP` to retrieve context and learn about the capabilities of the Azure Verified Module.
- Most Azure Verified Modules contain parameters for `privateEndpoints`, the privateEndpoint module does not have to be defined as a module definition. Take this into account.
- Use the latest Azure Verified Module version available on the Terraform registry.
🎯 Best For
- Claude users
- GitHub Copilot users
- Software engineers
- Development teams
- Tech leads
💡 Use Cases
- Code quality improvement
- Best practice enforcement
📖 How to Use This Skill
- 1
Install the Skill
Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.
- 2
Load into Your AI Assistant
Open Claude or GitHub Copilot and reference the skill. Paste the SKILL.md content or use the system prompt tab.
- 3
Apply Azure Terraform Infrastructure Planning to Your Work
Open your project in the AI assistant and ask it to apply the skill. Start with a small module to verify the output quality.
- 4
Review and Refine
Review AI suggestions before committing. Run tests, check for regressions, and iterate on the skill output.
❓ Frequently Asked Questions
Is Azure Terraform Infrastructure Planning compatible with Cursor and VS Code?
Yes — this skill works with any AI coding assistant including Cursor, VS Code with Copilot, and JetBrains IDEs.
Do I need specific dependencies for Azure Terraform Infrastructure Planning?
Check the install command and Works With section. Most code skills only require the AI assistant and your codebase.
How do I install Azure Terraform Infrastructure Planning?
Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/terraform-azure-planning/SKILL.md, ready to use.
Can I customize this skill for my team?
Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.
⚠️ Common Mistakes to Avoid
Skipping validation
Always test AI-generated code changes, even for simple refactors.
Missing dependency updates
Check if the skill requires updated dependencies or new packages.