Generated banner for Azure Verified Modules Terraform
Generated logo for Azure Verified Modules Terraform

Azure Verified Modules Terraform

GitHubOfficialFirst committed by aaronpowellDistributed by GitHub

  • Custom agent
  • Tool integration
  • Cloud and DevOps
  • MIT
  • No issues found

From the author

Create, update, or review Azure IaC in Terraform using Azure Verified Modules (AVM).
— the description by aaronpowell

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

The Azure AVM Terraform mode skill provides a structured approach to building and maintaining Azure infrastructure using Azure Verified Modules. It guides users through discovering, implementing, and validating Terraform code that adheres to official Azure standards. By leveraging pre-built modules, users can ensure their infrastructure configurations follow best practices, including version pinning, telemetry enablement, and consistent naming conventions.

What it does

  • Assists in searching and selecting appropriate Azure Verified Modules for specific resources.
  • Provides guidance on configuring module sources, versions, and telemetry settings.
  • Enforces standard naming conventions for resource, pattern, and utility modules.
  • Integrates with Azure deployment best practices and documentation tools.
  • Mandates the execution of pre-commit, tflint, and pr-check scripts to ensure CI/CD compliance.
  • Supports standard Terraform lifecycle operations like formatting and validation.

When to use it

  • When provisioning new Azure resources using Terraform.
  • When refactoring existing infrastructure to align with Azure best practices.
  • When preparing Terraform code for pull requests that require AVM compliance.
  • When you need to ensure your infrastructure code is compatible with Azure's standardized module ecosystem.

Advantages

  • Reduces configuration errors by using vetted, standardized modules.
  • Ensures compliance with Azure's recommended infrastructure patterns.
  • Automates quality checks through integrated testing commands.
  • Simplifies version management for infrastructure dependencies.

Usage examples

“Help me set up a new Azure Virtual Network using Azure Verified Modules.”
The agent will search the Terraform Registry for the appropriate AVM module, provide the correct source block with version pinning, and guide you through setting the required inputs.
“Run the necessary checks before I submit my Terraform changes.”
The agent will execute the required local tests including ./avm pre-commit, ./avm tflint, and ./avm pr-check to ensure your code meets AVM standards.

Install

  1. Download the custom agent as a ZIP:

    https://autogineer.com/agent-skills/github/azure-verified-modules-terraform/download
  2. Extract the agent file into .github/agents, then commit it:

    mkdir -p .github/agents && unzip -j azure-verified-modules-terraform.zip 'azure-verified-modules-terraform/azure-verified-modules-terraform.agent.md' -d .github/agents
  3. Keep the LICENSE and ATTRIBUTION.md files from the ZIP with your copy.

Documentation by aaronpowell

Azure AVM Terraform mode

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-check

These 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.

Files

Requirements and compatibility

Written for: GitHub Copilot

Works with: GitHub Copilot

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

First committed by
GitHub avatar of aaronpowellaaronpowell
Publisher
GitHub (Official)
Distributed by
GitHub
Source
github/awesome-copilot · agents/azure-verified-modules-terraform.agent.md · commit 797337f
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced
Contributors
aaronpowell

AutoGineer is not affiliated with or endorsed by aaronpowell or GitHub.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download azure-verified-modules-terraform.zip