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-importnpx skills add https://github.com/hashicorp/agent-skills --skill terraform-search-importOr paste this URL into your assistant to install:
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
- Configuring integration settings for custom agent workflows.
- Optimizing query execution and response latency in production.
- Developing clean, standard-compliant implementations for enterprise services.
- Troubleshooting connection timeouts and authentication handshakes.
- Monitoring API rate limits and execution pipelines programmatically.
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