terraform-search-import

Discover Azure resources with az CLI and generate Terraform import blocks.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/anevjes/agenticinfraops --skill terraform-search-import-anevjes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-search-import
Source: https://github.com/anevjes/agenticinfraops/tree/main/.github/skills/terraform-search-import
Command: npx skills add https://github.com/anevjes/agenticinfraops --skill terraform-search-import-anevjes

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of discovering existing Azure resources and importing them into Terraform, reducing manual effort and minimizing configuration errors.

Core Features & Use Cases

  • Resource Discovery: Uses az CLI to list resources across resource groups, subscriptions, or by tags.
  • Import Automation: Generates Terraform import blocks for bulk importing unmanaged Azure resources.
  • Post-Import Refactoring: Guides refactoring raw imports into modular, maintainable Terraform code using AVM modules.
  • Workflow Flexibility: Supports manual discovery and experimental search workflows based on Terraform's list_resource_schemas.
  • Use Case: An infrastructure engineer needs to bring existing Azure resources under Terraform management for compliance and future automation.

Quick Start

Use the terraform-search-import skill to identify existing Azure resources and generate the corresponding Terraform import scripts for migration.

Frequently Asked Questions about terraform-search-import

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I import existing Azure resources into Terraform in bulk?

Duplicate placeholder removed by logic.

What is the best way to discover unmanaged Azure infrastructure for Terraform adoption?

Duplicate placeholder removed by logic.

Can I refactor raw Terraform imports into maintainable modules after migration?

Duplicate placeholder removed by logic.

Does this Terraform import workflow require the Azure CLI?

Duplicate placeholder removed by logic.

How does Terraform list_resource_schemas work for resource discovery?

Duplicate placeholder removed by logic.

Can I use this to do a bulk Terraform import for an infrastructure audit?

Duplicate placeholder removed by logic.