
Import Infrastructure As Code
The import-infrastructure-as-code skill enables users to convert existing Azure infrastructure into Terraform code by discovering live resources and mapping them to Azure Verified Modules (AVM). It serves infrastructure engineers and platform teams who need to reverse-engineer Azure environments, generate Infrastructure as Code from subscriptions or resource groups, and establish a maintainable Terraform codebase while preventing configuration drift. The skill automates resource discovery via Azure CLI, identifies dependencies between resources, and produces AVM-based Terraform configurations ready for validation and planning across any supported Azure resource type.
- skills.sh installs
- 6.9K
- GitHub stars
- 41K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add github/awesome-copilot --skill import-infrastructure-as-code --agent claude-codeInstalls into .claude/skills of the current project.
Files
Import Infrastructure as Code (Azure -> Terraform with AVM)
Convert existing Azure infrastructure into maintainable Terraform code using discovery data and Azure Verified Modules.
When to Use This Skill
Use this skill when the user asks to:
- Import existing Azure resources into Terraform
- Generate IaC from live Azure environments
- Handle any Azure resource type supported by AVM (and document justified non-AVM fallbacks)
- Recreate infrastructure from a subscription or resource group
- Map dependencies between discovered Azure resources
- Use AVM modules instead of handwritten
azurerm_*resources
Prerequisites
- Azure CLI installed and authenticated (
az login) - Access to the target subscription or resource group
- Terraform CLI installed
- Network access to Terraform Registry and AVM index sources
Inputs
Sponsors
Details
More from github/awesome-copilot
All 318- Suggest Awesome Github Copilot Prompts6.8K
- Noob Mode6.4K
- Security Review5.8K
- Winmd Api Search5.7K
- Winui3 Migration Guide5.7K
- Web Coder5.5K
- Premium Frontend Ui5K
- Azure Pricing4.7K
- Secret Scanning4.6K
- Dependabot4.4K
- Copilot Spaces4.4K
- Doublecheck4.3K
- Flowstudio Power Automate Mcp4.2K
- Gsap Framer Scroll Animation4K
- Eval Driven Dev3.9K
- Autoresearch3.4K
- Draw Io Diagram Generator2.9K
- Github Actions Hardening2.6K
- Github Actions Efficiency2.4K
- Automate This2.3K
- Acquire Codebase Knowledge2.3K
- Napkin2.3K
- Cloud Design Patterns2.3K
- Cli Mastery2.1K