Skip to main content

terraform-search-import

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.

HashiCorpTerraformMPL-2.0

When terraform-search-import runs

Claude Code and Codex keep each installed skill's name and description in context. When a request matches the description, the agent loads the full SKILL.md. You can also run it yourself: type /terraform-search-import in Claude Code or $terraform-search-import in Codex.

The description says when to use it:

Use when bringing unmanaged infrastructure under Terraform control, auditing cloud resources, or migrating to IaC.

Install terraform-search-import

Claude Code

Copy the terraform-search-import folder into .claude/skills/ in your project. To use it in every project, copy it into ~/.claude/skills/ instead.

git clone --depth 1 https://github.com/hashicorp/agent-skills.git /tmp/hashicorp-agent-skills
mkdir -p .claude/skills
cp -r /tmp/hashicorp-agent-skills/plugins/terraform/skills/terraform-search-import .claude/skills/

Codex

Codex reads skills from .agents/skills/ in your repository, and from ~/.agents/skills/ for every repository. It detects new skills on its own. Restart Codex if terraform-search-import does not appear.

git clone --depth 1 https://github.com/hashicorp/agent-skills.git /tmp/hashicorp-agent-skills
mkdir -p .agents/skills
cp -r /tmp/hashicorp-agent-skills/plugins/terraform/skills/terraform-search-import .agents/skills/

Treq

Open Settings and select the Skills tab. The tab appears when Skills installation is on under Settings → Feature Preview. Search for terraform-search-import and choose Install….

Install for repository writes the skill under .treq/skills/ in the current repository. Install for application makes it available to every repository on this machine. Each new workspace gets a copy in .claude/skills/ and .agents/skills/, so Claude Code and Codex both find it. See Installing Skills from the Library.

Files

terraform-search-import ships 3 files, 13.3 KB in total. Select a file to load it from GitHub.

SKILL.md9.7 KBView on GitHub ↗

All skills by HashiCorp