Terraform Search and Import
Independent PiSkill directory guide. The original skill remains hosted by HashiCorp Agent Skills.
What is Terraform Search and Import?
Discovers existing cloud resources with Terraform Search and brings unmanaged infrastructure under Terraform using bulk import and generated configuration workflows.
What does Terraform Search and Import do?
Terraform Search and Import is a HashiCorp Agent Skill for discovering existing cloud resources and bringing unmanaged infrastructure under Terraform control. It uses Terraform Search and bulk-import workflows to find supported resources, generate configuration and import them into state in a more systematic way.
Who is Terraform Search and Import best for?
- Teams adopting Terraform in an existing cloud account
- Projects migrating manually created infrastructure to IaC
- Infrastructure audits looking for unmanaged resources
- Engineers planning bulk imports across accounts or regions
Common use cases
- Discover existing resources with Terraform Search
- Generate configuration for supported unmanaged resources
- Bulk import resources into Terraform state
- Audit what infrastructure is still outside IaC management
How does Terraform Search and Import work?
The skill first checks whether the provider and resource type support Terraform Search, then creates declarative queries to discover infrastructure. It reviews the discovered resources, generates or refines configuration and performs bulk import while keeping the resulting state and code aligned.
Key benefits
- Reduces manual one-resource-at-a-time import work
- Helps identify unmanaged infrastructure
- Connects discovery, configuration generation and state import
- Useful for brownfield IaC adoption
Things to know
- The workflow requires compatible Terraform and provider support
- Generated configuration usually needs cleanup and architectural review
- Importing state does not automatically produce an ideal module structure
Compatible tools
Frequently asked questions
What is Terraform Search and bulk import?
Can every cloud resource be imported this way?
Related skills
Terraform Stacks
Helps structure and orchestrate Terraform deployments across multiple environments or regions using Terraform Stacks and reusable infrastructure components.
Terraform Style Guide
Generates and reviews Terraform HCL using HashiCorp's official style conventions, recommended file organization, variables, outputs, providers, and maintainable infrastructure patterns.
AWS CDK
Supports authoring, deploying, refactoring, and troubleshooting AWS CDK infrastructure in TypeScript or Python, including stack design, constructs, drift, imports, and safe deployment workflows.
AWS Context Discovery
Discovers the active AWS profile, region, account, and caller identity before Hugging Face cloud or SageMaker work so later steps use the correct AWS context.
Cloudflare One Migrations
Plans and executes migrations to Cloudflare One by mapping existing network and security controls, sequencing rollout work, and validating the resulting Zero Trust configuration.
Cloudflare Sandbox Migration
Migrates applications from the stable Cloudflare Sandbox interface to the next-generation API while identifying behavioral changes and preserving runtime safety.