import-infrastructure-as-code
import infrastructure as code
What it does
- 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
- Azure CLI installed and authenticated (az login)
Requirements & configuration
- 1. Required Inputs — every input the module requires. Any child resource listed here
- Any resource using count requires an index in the import address. When count = 1 (e.g.,
Configuration: EXPORTED
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
import-infrastructure-as-code FAQ
What does the import-infrastructure-as-code skill do?
Import existing Azure resources into Terraform using Azure CLI discovery and Azure Verified Modules (AVM). Use when asked to reverse-engineer live Azure infrastructure, generate Infrastructure as Code from existing subscriptions/resource groups/resource IDs, map dependencies, derive exact import addresses from downloaded module source, prevent configuration drift, and produce AVM-based Terraform files ready for validation and planning across any Azure resource type. Import existing Azure resources into Terraform Generate IaC from live Azure environments
What does import-infrastructure-as-code require?
1. Required Inputs — every input the module requires. Any child resource listed here Any resource using count requires an index in the import address. When count = 1 (e.g., Configuration keys: EXPORTED.
How do I install import-infrastructure-as-code?
Run: npx -y skills add https://github.com/github/awesome-copilot --skill import-infrastructure-as-code --agent claude-code — the source lives at github.com/github/awesome-copilot.
Maintain import-infrastructure-as-code?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/github-awesome-copilot-import-infrastructure-as-code?ref=badge) npx agentictools info skills/github-awesome-copilot-import-infrastructure-as-code The second line is the CLI lookup for this page — handy in READMEs and docs.