🎯

import-infrastructure-as-code

🎯Skill

from github/awesome-copilot

VibeIndex|
What it does
|

Infrastructure as Code import skill from Awesome GitHub Copilot, a community-created collection of custom agents and instructions for enhancing GitHub Copilot across different domains and use cases.

Overview

A GitHub Copilot skill for importing existing Azure infrastructure into Terraform using Azure CLI discovery and Azure Verified Modules (AVM). It reverse-engineers live Azure environments by discovering resources at subscription, resource group, or individual resource scope, mapping dependencies, selecting appropriate AVM modules, and generating validated Terraform files ready for planning and import.

Key Features

  • Multi-scope Azure discovery: Discovers resources at subscription, resource group, or specific resource ID scope using az resource list and az resource show, collecting metadata including types, locations, tags, and properties for accurate Terraform generation.
  • Azure Verified Modules (AVM) integration: Automatically selects the latest AVM modules from the Terraform Registry and official AVM index CSV files, preferring AVM over handwritten azurerm_* resources with documented justification for any non-AVM fallbacks.
  • Mandatory README-first approach: Requires reading each AVM module's README before writing code, extracting required/optional inputs, child resource ownership rules, and provider-specific conventions (e.g., parent_id vs resource_group_name) to prevent common misconfigurations.
  • Accurate import address derivation: After terraform init, inspects downloaded module source with grep to determine exact provider types (azurerm vs azapi), resource labels, sub-module nesting, and count/for_each usage before writing any import {} blocks.
  • Live property diffing: Compares live Azure resource properties against AVM module defaults to explicitly set any differing values (timeouts, SKUs, network policies, availability zones), preventing silent configuration drift after import.

Who is this for?

This skill is essential for cloud engineers and platform teams who need to bring existing Azure infrastructure under Terraform management. It is especially valuable for organizations adopting Infrastructure as Code retroactively, teams migrating from manual Azure deployments to AVM-based Terraform, or engineers who need to reconstruct infrastructure state from production environments without risking drift or misconfiguration.

📦

Same repository

github/awesome-copilot(315 items)

import-infrastructure-as-code

Installation

Vibe Index InstallInstalls to .claude/skills/ - auto-recognized by Claude Code
npx vibeindex add github/awesome-copilot --skill import-infrastructure-as-code
skills.sh Install⚠ Installs to .agents/skills/ - may not be auto-recognized by Claude Code
npx skills add github/awesome-copilot --skill import-infrastructure-as-code
Manual InstallCopy SKILL.md content and save to the path below
~/.claude/skills/import-infrastructure-as-code/SKILL.md

SKILL.md

6,504Installs
-
AddedMar 2, 2026

More from this repository10

🎯
git-commit🎯Skill

A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.

🎯
gh-cli🎯Skill

A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.

🎯
prd🎯Skill

Generates comprehensive Product Requirements Documents (PRDs) by systematically analyzing requirements and crafting detailed technical specifications

🎯
documentation-writer🎯Skill

Expert technical writer guided by the Diataxis framework, creating tutorials, how-to guides, reference docs, and explanation pages for software documentation.

🎯
excalidraw-diagram-generator🎯Skill

Generates Excalidraw diagrams from natural language descriptions, creating visual representations of processes, systems, relationships, and ideas.

🎯
refactor🎯Skill

A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.

🎯
java-springboot🎯Skill

Provides Spring Boot best practices covering project setup, dependency injection, REST API design, data access with JPA, security configuration, and testing strategies.

🎯
multi-stage-dockerfile🎯Skill

Creates optimized multi-stage Dockerfiles for any language or framework, separating builder and runtime stages to produce smaller, more secure container images.

🎯
create-readme🎯Skill

Creates README.md files for projects.

🎯
memory-merger🎯Skill

Merges mature lessons from domain memory files into instruction files, consolidating knowledge with minimal redundancy across global, user, and workspace scopes.