INFRASTRUCTURE DEVELOPMENT / HashiCorp
Terraform search and import
Runs Terraform Search only after the provider is shown to support that resource type, and switches to a manual import when it does not.
“Discover existing cloud resources using Terraform Search queries and bulk import them into Terraform management. Use when bringing unmanaged infrastructure under Terraform control, auditing cloud resources, or migrating to IaC.”
01 / THE REASONING
Why this made the selection.
- The skill says to verify list-resource support before writing a query, and to stop the search path when the type is unsupported.
- The manual-import reference is the fallback and shows provider CLI commands for types the search does not list.
- The configuration example pins Terraform at 1.14 or newer.
02 / THE REVIEW RECORD
What we actually inspected.
Source review has boundaries.
A clear record is more useful than a “safe” badge.
Material inspected
- plugins/terraform/skills/terraform-search-import/SKILL.md
- LICENSE
- README.md
- plugins/terraform/skills/terraform-search-import/references/MANUAL-IMPORT.md
- SKILLS.md
Our findings
- The workflow says the target resource type must be verified as supported before a query is written.
- An initialized configuration with the required provider is a precondition for running the search.
- The example required_version constraint is greater than or equal to 1.14.
- references/MANUAL-IMPORT.md is the path for an unsupported type and starts from provider CLI discovery rather than from Terraform Search.
- The workflow first checks provider list-resource support and gives a manual import path when automatic query generation is unavailable.
- The import workflow verifies the resulting managed addresses with terraform state list after apply instead of treating generated configuration as proof of completed import.
Not established by this review
- The skill was not executed inside a host agent.
- No Terraform Search query was run and no resource was imported.
- Not executed: it was not installed or run.
The review applies to the material and revision named here. A newer upstream release can change its behavior.
03 / PUT IT TO WORK
Add a skill to your workflow.
DOCUMENTED COMMAND
npx skills add hashicorp/agent-skills/plugins/terraform/skills/terraform-search-import Run in your terminal to choose your AI tools, project or global scope, and installation method. This short command follows the current upstream version; the review covers the revision shown above.
- SKILLS.md gives npx skills add hashicorp/agent-skills/<installation-path> and lists plugins/terraform/skills/terraform-search-import as active. The command follows the default branch, not revision f706481af9b8fedb66de909f6243ad29601afa0c.
- Install the whole directory: the support check needs scripts/list_resources.sh, terraform and jq.
- Stop if the provider does not list the resource type, and use the manual workflow instead.
Before you start
- Node.js and npm for the documented Skills installer
- Terraform 1.14 or newer, jq, and provider credentials for the account being imported
04 / FOLLOW THE EVIDENCE
The source trail.
Our notes are separate from the original resource.
Check upstream before adopting a new version.
- Skill definition ↗Checked
https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/terraform/skills/terraform-search-import/SKILL.md
Supports: Workflow and stated scope
- Repository licence ↗Checked
https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/LICENSE
Supports: Redistribution terms
https://raw.githubusercontent.com/hashicorp/agent-skills/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/terraform/skills/terraform-search-import/SKILL.md
Supports: review.findings, bestFor