Terraform.instructions
---
name: Terraform IaC
description: Terraform provider config, module patterns, naming, and networking rules
applyTo: "infra/**/*.tf, infra/**/*.tfvars"
---
# Terraform Instructions
## Provider Configuration
- Use two provider aliases: `azurerm` (default for workload) and `azurerm.network` (for central networking/DNS).
- All private endpoints and DNS registration **MUST** use the `azurerm.network` provider.
## Module Patternwhen to use it
Community prompt sourced from the open-source GitHub repo jhchein/copilot-agent-modes (MIT). A "Terraform.instructions" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
roleplaycommunitygeneral
source
jhchein/copilot-agent-modes · MIT