Import Infrastructure As Code
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.
- Type
- Skill
- Author
- github
- Category
- Devops
- GitHub stars
- 40.5K
- Installs
- 6.9K
- Last updated
- November 2, 2026
Install
npx skills add https://github.com/github/awesome-copilot --skill import-infrastructure-as-codeUse cases
- Bring an existing Azure resource group under Terraform management
- Generate AVM-based Terraform from live subscription resources
- Map dependencies and derive import addresses for Azure resources
Frequently Asked Questions
How does it discover existing resources?
It uses Azure CLI discovery to find live Azure resources in subscriptions, resource groups, or by resource ID.
What does it generate?
AVM-based Terraform files ready for validation and planning.
Does it help prevent drift?
Yes, it derives exact import addresses from downloaded module source to prevent configuration drift.
About this skill
Imports existing Azure resources into Terraform by discovering them with the Azure CLI and generating configuration built on Azure Verified Modules. It's aimed at teams bringing live subscriptions or resource groups under Infrastructure as Code without rebuilding them by hand. The skill maps dependencies, derives exact import addresses from downloaded module source, and produces Terraform ready for validation and planning.
Summary written with AI assistance from the project's public description.
Categories
More from github
Git Commit
Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, cr...
by github
Excalidraw Diagram Generator
Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "...
by github
Multi Stage Dockerfile
Create optimized multi-stage Dockerfiles for any language or framework
by github
Documentation Writer
Diátaxis Documentation Expert. An expert technical writer specializing in creating high-quality software documentation, guided by the principles an...
by github
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh