terraform-search-import

Discover and bulk import unmanaged cloud resources into Terraform.

790|117|Updated Nov 8, 2025
One-click install
npx skills add https://github.com/hashicorp/agent-skills --skill terraform-search-import-hashicorp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-search-import
Source: https://github.com/hashicorp/agent-skills/tree/main/terraform/code-generation/skills/terraform-search-import
Command: npx skills add https://github.com/hashicorp/agent-skills --skill terraform-search-import-hashicorp

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies the process of identifying and importing unmanaged cloud resources into Terraform management using Terraform Search queries, helping users manage infrastructure at scale more efficiently.

Core Features & Use Cases

  • Terraform Search: Allows users to search for existing cloud resources across multiple providers.
  • Bulk Import: Enables importing discovered resources into Terraform for centralized management.
  • Use Case: Imagine you need to on-board several cloud services under Terraform control. Use this Skill to discover and import the services using Terraform Search queries, ensuring consistency and automation.

Quick Start

Execute the discovery script and run queries to import resources into Terraform.

Frequently Asked Questions about terraform-search-import

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

FAQPage Schema
How do I discover unmanaged cloud resources using Terraform?

Terraform Search queries identify existing cloud resources across multiple providers, enabling bulk import to bring unmanaged infrastructure under Terraform management for centralized control.

Can I bulk import existing cloud infrastructure into Terraform?

Yes, you can bulk import discovered resources into Terraform. This automates on-boarding several cloud services under Terraform control, ensuring consistency and centralized management at scale.

What Terraform version is required for resource discovery and bulk import?

Resource discovery and bulk import requires Terraform version 1.14 or higher, and your cloud providers must support list resource functionality to execute the automated search and import workflows.

How do I onboard large cloud infrastructures into Terraform management?

To onboard large infrastructures, execute the discovery script to find unmanaged resources via Terraform Search, then run queries to bulk import the discovered services into Terraform for automated management.

Does Terraform resource discovery work with multiple cloud providers?

Yes, Terraform Search queries support discovering existing cloud resources across multiple providers, provided those providers have list resource support enabled for the automated discovery and import workflows.