terraform-search-import は何をしますか?
Terraform Search クエリを使用して既存のクラウドリソースを検出し、それらを一括で Terraform 管理にインポートします。管理外のインフラストラクチャを Terraform の管理下に置く場合、クラウドリソースの監査を行う場合、または IaC に移行する場合に使用します。
Terraform Search クエリを使用して既存のクラウドリソースを検出し、それらを一括で Terraform 管理にインポートします。管理外のインフラストラクチャを Terraform の管理下に置く場合、クラウドリソースの監査を行う場合、または IaC に移行する場合に使用します。
このスキルは、Terraform Search クエリを利用して、現在 Terraform で管理されていない既存のクラウドリソースを発見し、それらを一括で Terraform の管理対象にインポートするためのものです。主なユースケースとしては、管理外インフラの Terraform 管理下への移行、クラウドリソースの棚卸しと監査、IaC(Infrastructure as Code)への移行などが挙げられます。このスキルは、Terraform の構成ファイルや状態ファイルを直接操作する Claude Code, Cursor, Codex などの AI エージェント向けに設計されています。動作の仕組みとしては、まずユーザーが指定した検索条件(リソースタイプやタグなど)に基づいてクラウドプロバイダ(AWS, Azure, GCP など)の API をクエリし、一致するリソースのリストを取得します。その後、各リソースに対して Terraform の `import` コマンドを実行するためのコードを自動生成し、状態ファイルにリソースを追加するとともに、対応する HCL 設定ブロックを生成します。これにより、大規模な環境でも手作業によるインポート作業を大幅に削減できます。
npx skills add https://github.com/hashicorp/agent-skills/tree/main/skills/terraform-search-importInstalled? Explore more 生産性&コラボレーション skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →
Terraform Search クエリを使用して既存のクラウドリソースを検出し、それらを一括で Terraform 管理にインポートします。管理外のインフラストラクチャを Terraform の管理下に置く場合、クラウドリソースの監査を行う場合、または IaC に移行する場合に使用します。
This repo contains 15 individual skills — each has its own dedicated page.
Build Amazon Machine Images (AMIs) with Packer using the amazon-ebs builder. Use when creating custom AMIs for EC2 instances.
Build Azure managed images and Azure Compute Gallery images with Packer. Use when creating custom images for Azure VMs.
Azure Verified Modules (AVM) requirements and best practices for developing certified Azure Terraform modules. Use when creating or reviewing Azure modules that need AVM certification.
Use this when scaffolding a new Terraform provider.
Implement Terraform Provider actions using the Plugin Framework. Use when developing imperative operations that execute at lifecycle events (before/after create, update, destroy).
Create, update, and review Terraform provider documentation for Terraform Registry using HashiCorp-recommended patterns, tfplugindocs templates, and schema descriptions. Use when adding or changing provider configuration, resources, data sources, ephemeral resources, list resources, functions, or guides; when validating generated docs; and when troubleshooting missing or incorrect Registry documentation.
Implement Terraform Provider resources and data sources using the Plugin Framework. Use when developing CRUD operations, schema design, state management, and acceptance testing for provider resources.
Terraform provider acceptance test patterns using terraform-plugin-testing with the Plugin Framework. Covers test structure, TestCase/TestStep fields, ConfigStateChecks with custom statecheck.StateCheck implementations, plan checks, CompareValue for cross-step assertions, config helpers, import testing with ImportStateKind, sweepers, and scenario patterns (basic, update, disappears, validation, regression), and ephemeral resource testing with the echoprovider package. Use when writing, reviewing, or debugging provider acceptance tests, including questions about statecheck, plancheck, TestCheckFunc, CheckDestroy, ExpectError, import state verification, ephemeral resources, or how to structure test files.
Push Packer build metadata to HCP Packer registry for tracking and managing image lifecycle. Use when integrating Packer builds with HCP Packer for version control and governance.
Transform monolithic Terraform configurations into reusable, maintainable modules following HashiCorp's module design principles and community best practices.
Guide for running acceptance tests for a Terraform provider. Use this when asked to run an acceptance test or to run a test with the prefix `TestAcc`.
Comprehensive guide for working with HashiCorp Terraform Stacks. Use when creating, modifying, or validating Terraform Stack configurations (.tfcomponent.hcl, .tfdeploy.hcl files), working with stack components and deployments from local modules, public registry, or private registry sources, managing multi-region or multi-environment infrastructure, or troubleshooting Terraform Stacks syntax and structure.
Generate Terraform HCL code following HashiCorp's official style conventions and best practices. Use when writing, reviewing, or generating Terraform configurations.
Comprehensive guide for writing and running Terraform tests. Use when creating test files (.tftest.hcl), writing test scenarios with run blocks, validating infrastructure behavior with assertions, mocking providers and data sources, testing module outputs and resource configurations, or troubleshooting Terraform test syntax and execution.
Build Windows images with Packer using WinRM communicator and PowerShell provisioners. Use when creating Windows AMIs, Azure images, or VMware templates.
Gemini CLI one-shot prompts, summaries, generation, skills, hooks, MCP, or Gemma routing.
Fetch GitHub issues, select candidates, spawn background fix agents, open PRs, and optionally process PR review comments.
Create, edit, audit, tidy, validate, or restructure AgentSkills and SKILL.md files.
Search, install, update, sync, or publish agent skills with the ClawHub CLI and registry.
Delegate coding work to Codex, Claude Code, or OpenCode as background workers; not simple edits or read-only code lookup.
List, configure, authenticate, call, and inspect MCP servers/tools with mcporter over HTTP or stdio.