Sponsor Suno AI Music arrow_forward
Subagent

Azure Terraform Infrastructure Planning

Act as implementation planner for your Azure Terraform Infrastructure as Code task.

Type
Subagent
GitHub stars
39.4k
License
MIT
Repo last updated
Sep 27, 2026

What Azure Terraform Infrastructure Planning is

Azure Terraform Infrastructure Planning is a subagent published in the github/awesome-copilot repository on GitHub, which has about 39.4k stars. The repository describes itself as: “Community-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot.”

A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.

Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Azure Terraform Infrastructure Planning and get back a compact result.

It is set up to use these tools: edit/editFiles, fetch, todos, azureterraformbestpractices, cloudarchitect, documentation, get_bestpractices, microsoft-docs. Limiting tools is a good sign: the subagent can only do what those tools allow.

How to install Azure Terraform Infrastructure Planning

Claude Code

  1. Download terraform-azure-planning.agent.md from the repository.
  2. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
  3. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Claude Cowork

  1. Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
  2. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from agents/terraform-azure-planning.agent.md, shared under the repository's MIT license. Read the full file on GitHub.

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.

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. Fetch this version at https://registry.terraform.io/modules/Azure/{module}/azurerm/latest using the #fetch tool
  • Use the tool #cloudarchitect to generate an overall architecture diagram.
  • Generate a network architecture diagram to illustrate connectivity.

Output file

  • Folder: .terraform-planning-files/ (create if missing).
  • Filename: INFRA.{goal}.md.
  • Format: Valid Markdown.

Implementation plan structure

---
goal: [Title of what to achieve]
---

# Introduction

[1–3 sentences summarizing the plan and its purpose]

## WAF Alignment

[Brief summary of how the WAF assessment shapes this implementation plan]

### Cost Optimization Implications

- [How budget constraints influence resource selection, e.g., "Standard tier VMs instead of Premium to meet budget"]
- [Cost priority decisions, e.g., "Reserved instances for long-term savings"]

### Reliability Implications
…

name: kind: AVM | Raw

If kind == AVM:

avmModule: registry.terraform.io/Azure/avm-res- - / version:

If kind == Raw:

resource: azurerm_ provider: azurerm version:

purpose: dependsOn: [ , ...]

variables: required:

  • name: type: description: example: optional:
  • name: type: description: default:

outputs:

  • name: type: description:

references: docs: {URL to Microsoft Docs} avm: {module repo URL or commit} # if applicable


# Implementation Plan

{Brief summary of overall approach and key dependencies}

## Phase 1 — {Phase Name}

**Objective:**

{Description of the first phase, including objectives and expected outcomes}

- IMPLEMENT-GOAL-001: {Describe the goal of this phase, e.g., "Implement feature X", "Refactor module Y", etc.}

| Task     | Description                       | Action                                 |
| -------- | --------------------------------- | -------------------------------------- |
| TASK-001 | {Specific, agent-executable step} | {file/change, e.g., resources section} |
| TASK-002 | {...}                             | {...}                                  |
…

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Azure Terraform Infrastructure Planning?

Azure Terraform Infrastructure Planning is a subagent for Claude Code and Claude Cowork from the github/awesome-copilot repository on GitHub. Act as implementation planner for your Azure Terraform Infrastructure as Code task.

How do I install Azure Terraform Infrastructure Planning in Claude Code?

Download terraform-azure-planning.agent.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Can I use Azure Terraform Infrastructure Planning in Claude Cowork?

Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

Is Azure Terraform Infrastructure Planning safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.