skills.vishalvoidskills/vishalvoid
Technical & DevelopmentIntermediate

terraform-search-import

Discover existing cloud resources and bulk import them into Terraform state

Developer Setup

Setup & Installation

bash
npx skills add https://github.com/hashicorp/agent-skills --skill terraform-search-import

Overview

What This Skill Does

Discovers existing cloud resources using declarative Terraform Search queries and bulk imports them into Terraform state. Requires Terraform 1.14+ and providers with list resource support. Covers the full workflow from query to generated config to applied import.

Application

When to use this Skill

Documentation

Show Skills.md file

Terraform Search and Bulk Import

Discover existing cloud resources using declarative queries and generate configuration for bulk import into Terraform state.

References:

When to Use

  • Bringing unmanaged resources under Terraform control
  • Auditing existing cloud infrastructure
  • Migrating from manual provisioning to IaC
  • Discovering resources across multiple regions/accounts

IMPORTANT: Check Provider Support First

BEFORE starting, you MUST verify the target resource type is supported:

# Check what list resources are available
./scripts/list_resources.sh aws      # Specific provider
./scripts/list_resources.sh          # All configured providers
Lines 1 - 25 of 363

Recommendations

Explore other random skills

All skillsMy patterns