terraform-search-import

Automate discovery and bulk import of Azure resources into Terraform.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/cassm199-mita/azure-agentic-infraops-accelerator --skill terraform-search-import-cassm199-mita
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-search-import
Source: https://github.com/cassm199-mita/azure-agentic-infraops-accelerator/tree/main/.github/skills/terraform-search-import
Command: npx skills add https://github.com/cassm199-mita/azure-agentic-infraops-accelerator --skill terraform-search-import-cassm199-mita

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires terraform, az cli, terraform query, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the discovery and bulk import of existing Azure resources into Terraform management, streamlining the process of bringing unmanaged infrastructure under Terraform control.

Core Features & Use Cases

  • Resource Discovery: Discover existing Azure resources and generate Terraform configuration for bulk import.
  • Manual and Search Workflows: Supports manual discovery via az CLI and experimental Terraform Search for resource discovery (Terraform 1.14+).
  • Integration with Terraform MCP: Utilizes Terraform MCP tools for resource type validation, schema retrieval, and post-import refactoring.

Quick Start

Run the terraform-search-import skill to start the Terraform resource import process. Select the manual or search workflow based on your needs.

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 management?

You can import existing Azure resources into Terraform by running the terraform-search-import skill to automate resource discovery and generate Terraform configuration for bulk import.

What is the Terraform search feature for resource discovery?

Terraform search is an experimental resource discovery feature that helps find existing infrastructure to import. It requires Terraform version 1.14 or higher to query and identify Azure resources for Terraform management.

Do I need az CLI to discover Azure resources for Terraform import?

Yes, az CLI is required for the manual resource discovery workflow. It queries your Azure environment to find existing resources so you can generate Terraform configurations and bring them under IaC management.

Can I bulk import Azure infrastructure into Terraform without manual configuration?

Yes, this skill automates bulk import by discovering Azure resources and generating the required Terraform configuration. It validates resource types and retrieves schemas using Terraform MCP tools to refactor configurations post-import.

What Terraform version is required for experimental Terraform search?

Experimental Terraform search requires Terraform version 1.14 or higher. If you are using an older version, you must use the manual discovery workflow via az CLI to find and import Azure resources.

What is the best way to bring unmanaged Azure infrastructure under Terraform?

The best way to bring unmanaged Azure infrastructure under Terraform is to use an automated discovery and bulk import skill. It validates resource schemas via Terraform MCP and performs post-import refactoring for IaC management.