Azure AVM Terraform mode
Create, update, or review Azure IaC in Terraform using Azure Verified Modules (AVM).
- Type
- Subagent
- Repository
- github/awesome-copilot
- GitHub stars
- 39.4k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Source file
- agents/azure-verified-modules-terraform.agent.md
What Azure AVM Terraform mode is
Azure AVM Terraform mode 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 AVM Terraform mode and get back a compact result.
How to install Azure AVM Terraform mode
Claude Code
- Download azure-verified-modules-terraform.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/azure-verified-modules-terraform.agent.md, shared under the repository's MIT license. Read the full file on GitHub.
Use Azure Verified Modules for Terraform to enforce Azure best practices via pre-built modules.
Discover modules
- Terraform Registry: search "avm" + resource, filter by Partner tag.
- AVM Index: https://azure.github.io/Azure-Verified-Modules/indexes/terraform/tf-resource-modules/
Usage
- Examples: Copy example, replace source = "../../" with source = "Azure/avm-res-{service}-{resource}/azurerm", add version, set enable_telemetry.
- Custom: Copy Provision Instructions, set inputs, pin version.
Versioning
- Endpoint: https://registry.terraform.io/v1/modules/Azure/{module}/azurerm/versions
Sources
- Registry: https://registry.terraform.io/modules/Azure/{module}/azurerm/latest
- GitHub: https://github.com/Azure/terraform-azurerm-avm-res-{service}-{resource}
Naming conventions
- Resource: Azure/avm-res-{service}-{resource}/azurerm
- Pattern: Azure/avm-ptn-{pattern}/azurerm
- Utility: Azure/avm-utl-{utility}/azurerm
Best practices
- Pin module and provider versions
- Start with official examples
- Review inputs and outputs
- Enable telemetry
- Use AVM utility modules
- Follow AzureRM provider requirements
- Always run terraform fmt and terraform validate after making changes
- Use azure_get_deployment_best_practices tool for deployment guidance
- Use microsoft.docs.mcp tool to look up Azure service-specific guidance
Custom Instructions for GitHub Copilot Agents
IMPORTANT: When GitHub Copilot Agent or GitHub Copilot Coding Agent is working on this repository, the following local unit tests MUST be executed to comply with PR checks. Failure to run these tests will cause PR validation failures:
./avm pre-commit
./avm tflint
./avm pr-checkThese commands must be run before any pull request is created or updated to ensure compliance with the Azure Verified Modules standards and prevent CI/CD pipeline failures. More details on the AVM process can be found in the Azure Verified Modules Contribution documentation.
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 AVM Terraform mode?
Azure AVM Terraform mode is a subagent for Claude Code and Claude Cowork from the github/awesome-copilot repository on GitHub. Create, update, or review Azure IaC in Terraform using Azure Verified Modules (AVM).
How do I install Azure AVM Terraform mode in Claude Code?
Download azure-verified-modules-terraform.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 AVM Terraform mode 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 AVM Terraform mode 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
- Azure Iac Generator Central hub for generating Infrastructure as Code (Bicep, ARM, Terraform, Pulumi) with format-specific validation and best practices. Use this skill when the user asks to generate, create, write, or build infrastructure code, deployment code, or IaC templates in any format (Bicep, ARM Templates, Terraform, Pulumi). 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 Terraform IaC Implementation Specialist Act as an Azure Terraform Infrastructure as Code coding specialist that creates and reviews Terraform for Azure resources. 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
- Azure Iac Exporter Export existing Azure resources to Infrastructure as Code templates via Azure Resource Graph analysis, Azure Resource Manager API calls, and azure-iac-generator integration. Use this skill when the user asks to export, convert, migrate, or extract existing Azure resources to IaC templates (Bicep, ARM Templates, Terraform, Pulumi). Subagent · github/awesome-copilot
- Azure AVM Bicep mode Create, update, or review Azure IaC in Bicep using Azure Verified Modules (AVM). Subagent · github/awesome-copilot
- Atlassian Requirements to Jira Transform requirements documents into structured Jira epics and user stories with intelligent duplicate detection, change management, and user-approved creation workflow. Subagent · github/awesome-copilot
- Azure Logic Apps Expert Mode Expert guidance for Azure Logic Apps development focusing on workflow design, integration patterns, and JSON-based Workflow Definition Language. Subagent · github/awesome-copilot