terraform-search-import
Installation
SKILL.md
OpenTofu-Oriented Import Guide
This repository is OpenTofu-first. That changes the default import workflow.
OpenTofu supports import blocks and the tofu import command, but Terraform Search and terraform query are Terraform-specific features and should not be the default path here.
Default decision rule
- Identify the runtime.
- If the repo uses OpenTofu, use manual discovery plus import blocks or
tofu import. - Only consider Terraform Search if the user explicitly says they are using Terraform with that feature available.
In this repository, assume step 2 unless the user says otherwise.
OpenTofu workflow
1. Discover existing resource IDs outside OpenTofu
Use the provider's CLI, console, or API to discover the existing objects and their import IDs.