Azure to Terraform AVM Importer
Automates the conversion of live Azure resources into production-grade Terraform code using Azure Verified Modules (AVM).
This skill enables developers to reverse-engineer existing Azure infrastructure into maintainable Infrastructure as Code (IaC) by leveraging Azure CLI discovery and official Azure Verified Modules. It streamlines the complex process of mapping live resources to professional HCL structures, handling dependency resolution, architecture documentation, and precise import address generation for nested modules. By enforcing AVM standards and mandatory module documentation review, it ensures the resulting code is high-quality, follows Microsoft best practices, and is ready for immediate validation and planning.
Key Features
01Automated resource discovery via Azure CLI across subscriptions and resource groups
02Generation of comprehensive architecture documentation and dependency maps
031 GitHub stars
04Smart mapping of discovered resources to official Azure Verified Modules (AVM)
05Precise derivation of Terraform import addresses for complex, nested module structures
06Mandatory AVM README inspection to ensure accurate input and variable mapping
Use Cases
01Refactoring legacy Terraform configurations to use standardized Azure Verified Modules
02Migrating manually created 'click-ops' Azure environments into professional-grade Terraform IaC
03Generating architectural documentation and IaC for existing subscriptions to prevent configuration drift