Skip to content
Kitbay
SkillOfficialactive

terraform-search-import

MPL-2.0Updated on Nov 4, 2026925GitHub starsIncludes scripts

A HashiCorp skill for bringing existing, unmanaged cloud resources under Terraform.

What the skill teaches

A HashiCorp skill for bringing existing, unmanaged cloud resources under Terraform. With Terraform 1.14 or later and a provider that supports list resources, the agent writes Terraform Search queries to discover resources and generates configuration to import them in bulk into state. It first checks provider support with a bundled shell script, and falls back to a manual discovery and import workflow, described in a reference file, when search is not available. It suits audits of existing infrastructure and migrations from hand-built resources, across regions or accounts.

Capabilities

  • Discover existing resources with Terraform Search
  • Generate configuration for bulk import
  • Check which resource types a provider can list
  • Fall back to manual import when search is unsupported