import-infrastructure-as-code
Converts existing Azure infrastructure into Terraform code using Azure Verified Modules and automated discovery.
Install
npx skills add https://github.com/github/awesome-copilot --skill import-infrastructure-as-codeStats
| Total installs | 5,574 |
| Weekly installs | 5.6K |
| GitHub stars | 27.4K |
| First seen | Mar 2, 2026 |
| Source | @github/awesome-copilot |
Summary
- Discovers Azure resources across subscription, resource group, or specific resource ID scopes using Azure CLI, then maps dependencies and generates AVM-based Terraform configuration
- Requires reading each AVM module's README before code generation to identify required inputs, child resource ownership, and exact variable names that differ from raw azurerm_* provider arguments
- Generates import blocks by inspecting downloaded module source code to derive correct resource addresses, accounting for provider type (azurerm vs azapi), sub-module nesting, and count/for_each patterns
- Produces providers.tf, main.tf, variables.tf, outputs.tf, and documentation files (exported-resources.json, EXPORTED-ARCHITECTURE.md) with full validation via terraform plan
- Validates live resource properties against AVM module defaults to prevent configuration drift, explicitly setting any differing values in the generated configuration
Tags
Related skills
| Skill | Installs | vs import-infrastructure-as-code |
|---|---|---|
| recipe-create-classroom-course | 5,763 | +189 |
| recipe-post-mortem-setup | 5,985 | +411 |
| notion-api | 5,143 | -431 |
| vercel-cli-with-tokens | 5,516 | -58 |
| persona-sales-ops | 5,978 | +404 |
FAQ
- How many installs does import-infrastructure-as-code have?
- import-infrastructure-as-code has 5,574 total installs and 5.6K installs this week.
- Where is import-infrastructure-as-code hosted?
- import-infrastructure-as-code is published by @github/awesome-copilot at https://github.com/github/awesome-copilot.
- How many GitHub stars does import-infrastructure-as-code have?
- import-infrastructure-as-code has 27.4K GitHub stars.
- When was import-infrastructure-as-code first indexed?
- OrangeBot.AI first indexed import-infrastructure-as-code on Mar 2, 2026.
- How do I install import-infrastructure-as-code?
- Run: npx skills add https://github.com/github/awesome-copilot --skill import-infrastructure-as-code