Subagent Directive: Copilot Subagent: Azure Avm Terraform Mode
Subagent Directive: Copilot Subagent: Azure Avm Terraform Mode is a verified SUBAGENT blueprint on Promptally in Specialized Subagents optimized for leading AI models. Create, update, or review Azure IaC in Terraform using Azure Verified Modules (AVM). Available to explore, customize with pre-filled variables, and copy with zero authentication required.
Technical Specifications
| Specification | Value |
|---|---|
| Artifact type | SUBAGENT (Specialized Subagents) |
| Compatible engines | Universal / Model Agnostic |
| Input variables | None (pre-filled) |
| Approximate tokens | 533 |
| Source file | Azure AVM Terraform mode.agent.md |
| Access tier | Free public (MIT) |
Pre-Filled Template
# 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:
```bash
./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](https://azure.github.io/Azure-Verified-Modules/contributing/terraform/testing/).How to use this subagent
- Review the pre-filled example and source files above.
- Copy the template or download
Azure AVM Terraform mode.agent.md, then use it in your model, IDE, or workflow tool. - Compare your result with the sample output when one is provided.
Frequently Asked Questions
How do I use Subagent Directive: Copilot Subagent: Azure Avm Terraform Mode?
Open the subagent on Promptally, review the pre-filled example, then copy the template or download Azure AVM Terraform mode.agent.md and paste it into your model, IDE or workflow tool. Subagent Directive: Copilot Subagent: Azure Avm Terraform Mode is a static blueprint with no dynamic variables. Copy it and use it as-is.
Is Subagent Directive: Copilot Subagent: Azure Avm Terraform Mode free?
Yes. Subagent Directive: Copilot Subagent: Azure Avm Terraform Mode is free to view, copy and download on Promptally without creating an account. It is published under the MIT license.
What variables does Subagent Directive: Copilot Subagent: Azure Avm Terraform Mode need?
Subagent Directive: Copilot Subagent: Azure Avm Terraform Mode is a static blueprint with no dynamic variables. Copy it and use it as-is.