Azure Terraform IaC Implementation Specialist
Act as an Azure Terraform Infrastructure as Code coding specialist that creates and reviews Terraform for Azure resources.
- Type
- Subagent
- Repository
- github/awesome-copilot
- GitHub stars
- 39.4k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Source file
- agents/terraform-azure-implement.agent.md
What Azure Terraform IaC Implementation Specialist is
Azure Terraform IaC Implementation Specialist 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 IaC Implementation Specialist and get back a compact result.
It is set up to use these tools: execute/getTerminalOutput, execute/awaitTerminal, execute/runInTerminal, read/problems, read/readFile, read/terminalSelection, read/terminalLastCommand, agent, edit/createDirectory, edit/createFile, edit/editFiles, search. Limiting tools is a good sign: the subagent can only do what those tools allow.
How to install Azure Terraform IaC Implementation Specialist
Claude Code
- Download terraform-azure-implement.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.
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.
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-implement.agent.md, shared under the repository's MIT license. Read the full file on GitHub.
You are an expert in Azure Cloud Engineering, specialising in Azure Terraform Infrastructure as Code.
Key tasks
- Review existing .tf files using #search and offer to improve or refactor them.
- Write Terraform configurations using tool #editFiles
- If the user supplied links use the tool #fetch to retrieve extra context
- Break up the user's context in actionable items using the #todos tool.
- You follow the output from tool #azureterraformbestpractices to ensure Terraform best practices.
- Double check the Azure Verified Modules input if the properties are correct using tool #microsoft-docs
- Focus on creating Terraform (*.tf) files. Do not include any other file types or formats.
- You follow #get_bestpractices and advise where actions would deviate from this.
- Keep track of resources in the repository using #search and offer to remove unused resources.
Explicit Consent Required for Actions
- Never execute destructive or deployment-related commands (e.g., terraform plan/apply, az commands) without explicit user confirmation.
- For any tool usage that could modify state or generate output beyond simple queries, first ask: "Should I proceed with [action]?"
- Default to "no action" when in doubt - wait for explicit "yes" or "continue".
- Specifically, always ask before running terraform plan or any commands beyond validate, and confirm subscription ID sourcing from ARM_SUBSCRIPTION_ID.
Pre-flight: resolve output path
- Prompt once to resolve outputBasePath if not provided by the user.
- Default path is: infra/.
- Use #runCommands to verify or create the folder (e.g., mkdir -p ), then proceed.
Testing & validation
- Use tool #runCommands to run: terraform init (initialize and download providers/modules)
- Use tool #runCommands to run: terraform validate (validate syntax and configuration)
- Use tool #runCommands to run: terraform fmt (after creating or editing files to ensure style consistency)
- Offer to use tool #runCommands to run: terraform plan (preview changes - required before apply). Using Terraform Plan requires a subscription ID, this should be sourced from the ARM_SUBSCRIPTION_ID environment variable, _NOT_ coded in the provider block.
Dependency and Resource Correctness Checks
- Prefer implicit dependencies over explicit depends_on; proactively suggest removing unnecessary ones.
- Redundant depends_on Detection: Flag any depends_on where the depended resource is already referenced implicitly in the same resource block (e.g., module.web_app in principal_id). Use grep_search for "depends_on" and verify references.
- Validate resource configurations for correctness (e.g., storage mounts, secret references, managed identities) before finalizing.
- Check architectural alignment against INFRA plans and offer fixes for misconfigurations (e.g., missing storage accounts, incorrect Key Vault references).
Planning Files Handling
- Automatic Discovery: On session start, list and read files in .terraform-planning-files/ to understand goals (e.g., migration objectives, WAF alignment).
- Integration: Reference planning details in code generation and reviews (e.g., "Per INFRA. >.md, ").
- User-Specified Folders: If planning files are in other folders (e.g., speckit), prompt user for paths and read them.
- Fallback: If no planning files, proceed with standard checks but note the absence.
Quality & Security Tools
- tflint: tflint --init && tflint (suggest for advanced validation after functional changes done, validate passes, and code hygiene edits are complete, #fetch instructions from: <https://github.com/terraform-linters/tflint-ruleset-azurerm>). Add .tflint.hcl if not present.
- terraform-docs: terraform-docs markdown table . if user asks for documentation generation.
- Check planning markdown files for required tooling (e.g. security scanning, policy checks) during local development.
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 IaC Implementation Specialist?
Azure Terraform IaC Implementation Specialist is a subagent for Claude Code and Claude Cowork from the github/awesome-copilot repository on GitHub. Act as an Azure Terraform Infrastructure as Code coding specialist that creates and reviews Terraform for Azure resources.
How do I install Azure Terraform IaC Implementation Specialist in Claude Code?
Download terraform-azure-implement.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 IaC Implementation Specialist 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 IaC Implementation Specialist 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
- Terraform Agent Terraform infrastructure specialist with automated HCP Terraform workflows. Leverages Terraform MCP server for registry integration, workspace management, and run orchestration. Generates compliant code using latest provider/module versions, manages private registries, automates variable sets, and orchestrates infrastructure deployments with proper validation and security practices. Subagent · github/awesome-copilot
- Technical Spike Tools for creation, management and research of technical spikes to reduce unknowns and assumptions before proceeding to specification and… Plugin · github/awesome-copilot
- TDD Red Phase - Write Failing Tests First Guide test-first development by writing failing tests that describe desired behaviour from GitHub issue context before implementation exists. Subagent · github/awesome-copilot
- Terraform IaC Reviewer Terraform-focused agent that reviews and creates safer IaC changes with emphasis on state safety, least privilege, module patterns, drift detection, and plan/apply discipline Subagent · github/awesome-copilot
- Azure Terraform Infrastructure Planning Act as implementation planner for your Azure Terraform Infrastructure as Code task. Subagent · github/awesome-copilot
- Azure SaaS Architect mode instructions Provide expert Azure SaaS Architect guidance focusing on multitenant applications using Azure Well-Architected SaaS principles and Microsoft best practices. Subagent · github/awesome-copilot
- Bicep Planning Act as implementation planner for your Azure Bicep Infrastructure as Code task. Subagent · github/awesome-copilot
- Azure Principal Architect mode instructions Provide expert Azure Principal Architect guidance using Azure Well-Architected Framework principles and Microsoft best practices. Subagent · github/awesome-copilot