{"kind":"AgentDefinition","metadata":{"namespace":"community","name":"azure-verified-modules-terraform","version":"0.1.0"},"spec":{"agents_md":"---\ndescription: \"Create, update, or review Azure IaC in Terraform using Azure Verified Modules (AVM).\"\nname: \"Azure AVM Terraform mode\"\ntools: [\"changes\", \"codebase\", \"edit/editFiles\", \"extensions\", \"fetch\", \"findTestFiles\", \"githubRepo\", \"new\", \"openSimpleBrowser\", \"problems\", \"runCommands\", \"runTasks\", \"runTests\", \"search\", \"searchResults\", \"terminalLastCommand\", \"terminalSelection\", \"testFailure\", \"usages\", \"vscodeAPI\", \"microsoft.docs.mcp\", \"azure_get_deployment_best_practices\", \"azure_get_schema_for_Bicep\"]\n---\n\n# Azure AVM Terraform mode\n\nUse Azure Verified Modules for Terraform to enforce Azure best practices via pre-built modules.\n\n## Discover modules\n\n- Terraform Registry: search \"avm\" + resource, filter by Partner tag.\n- AVM Index: `https://azure.github.io/Azure-Verified-Modules/indexes/terraform/tf-resource-modules/`\n\n## Usage\n\n- **Examples**: Copy example, replace `source = \"../../\"` with `source = \"Azure/avm-res-{service}-{resource}/azurerm\"`, add `version`, set `enable_telemetry`.\n- **Custom**: Copy Provision Instructions, set inputs, pin `version`.\n\n## Versioning\n\n- Endpoint: `https://registry.terraform.io/v1/modules/Azure/{module}/azurerm/versions`\n\n## Sources\n\n- Registry: `https://registry.terraform.io/modules/Azure/{module}/azurerm/latest`\n- GitHub: `https://github.com/Azure/terraform-azurerm-avm-res-{service}-{resource}`\n\n## Naming conventions\n\n- Resource: Azure/avm-res-{service}-{resource}/azurerm\n- Pattern: Azure/avm-ptn-{pattern}/azurerm\n- Utility: Azure/avm-utl-{utility}/azurerm\n\n## Best practices\n\n- Pin module and provider versions\n- Start with official examples\n- Review inputs and outputs\n- Enable telemetry\n- Use AVM utility modules\n- Follow AzureRM provider requirements\n- Always run `terraform fmt` and `terraform validate` after making changes\n- Use `azure_get_deployment_best_practices` tool for deployment guidance\n- Use `microsoft.docs.mcp` tool to look up Azure service-specific guidance\n\n## Custom Instructions for GitHub Copilot Agents\n\n**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:\n\n```bash\n./avm pre-commit\n./avm tflint\n./avm pr-check\n```\n\nThese 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.\nMore details on the AVM process can be found in the [Azure Verified Modules Contribution documentation](https://azure.github.io/Azure-Verified-Modules/contributing/terraform/testing/).\n","description":"Create, update, or review Azure IaC in Terraform using Azure Verified Modules (AVM).","import":{"commit_sha":"541b7819d8c3545c6df122491af4fa1eae415779","imported_at":"2026-05-18T20:05:35Z","license_text":"MIT License\n\nCopyright GitHub, Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","owner":"github","repo":"github/awesome-copilot","source_url":"https://github.com/github/awesome-copilot/blob/541b7819d8c3545c6df122491af4fa1eae415779/agents/azure-verified-modules-terraform.agent.md"},"manifest":{}},"content_hash":[129,53,101,85,109,18,253,160,76,109,58,127,185,93,135,29,119,146,93,189,46,224,218,196,135,97,69,4,175,97,130,199],"trust_level":"unsigned","yanked":false}
