Azure to Terraform Import (AVM)
Automates the discovery and conversion of existing Azure resources into production-ready Terraform code using Azure Verified Modules.
This skill enables developers to reverse-engineer live Azure infrastructure into maintainable Terraform (HCL) configurations. It leverages the Azure CLI to scan subscriptions or resource groups, maps complex dependencies between resources, and generates high-quality code based on Azure Verified Modules (AVM). By automating the identification of import addresses and module requirements, it simplifies the migration from manual deployments to Infrastructure-as-Code (IaC), ensuring alignment with Azure best practices and minimizing configuration drift.
Key Features
01Intelligent mapping of resource dependencies and parent-child relationships
02Automatic derivation of Terraform import addresses from module source files
03Comprehensive architecture documentation and metadata export (JSON/Markdown)
04Automated Azure resource discovery via Azure CLI scanning
052 GitHub stars
06HCL generation using official Azure Verified Modules (AVM) patterns
Use Cases
01Converting manually created Azure environments into version-controlled Terraform code
02Auditing existing cloud infrastructure by generating a readable architecture overview and dependency map
03Migrating legacy Terraform configurations to use Azure Verified Modules (AVM)