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.
npx skills add https://github.com/github/awesome-copilot --skill import-infrastructure-as-code