terraform-search-import

Discover and bulk import existing Azure resources into Terraform.

6|2|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/jonathan-vella/azure-smb-rf --skill terraform-search-import-jonathan-vella
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-search-import
Source: https://github.com/jonathan-vella/azure-smb-rf/tree/main/.github/skills/terraform-search-import
Command: npx skills add https://github.com/jonathan-vella/azure-smb-rf --skill terraform-search-import-jonathan-vella

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires terraform, azurerm, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of managing and importing existing Azure resources into Terraform for better infrastructure as code (IaC) management.

Core Features & Use Cases

  • Resource Discovery: Automatically identify and list existing Azure resources.
  • Bulk Import: Import resources into Terraform for management and configuration.
  • Post-Import Refactoring: Refactor imported resources to use Azure Verified Modules (AVM) for better maintainability.
  • Integration with Terraform MCP: Utilize Terraform Management Platform (MCP) tools for additional support during import workflows.
  • Use Case: If you have an existing Azure environment and want to manage it using Terraform, this Skill can help you import resources and start using Terraform for configuration management.

Quick Start

Import all resources from the 'rg-contoso-prod' resource group into Terraform using the 'terraform-search-import' skill.

Frequently Asked Questions about terraform-search-import

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I import existing Azure resources into Terraform management?

To import existing Azure resources into Terraform, this Skill automates resource discovery and bulk import using the azurerm provider. It identifies existing infrastructure and brings it under Terraform configuration management.

Can I bulk import an entire Azure resource group into Terraform?

Yes, you can bulk import an entire Azure resource group into Terraform. The Skill automates resource discovery within specified groups like 'rg-contoso-prod' and imports them for infrastructure as code management.

Do I need the azurerm provider to import Azure resources into Terraform?

Yes, you need the azurerm provider and Terraform installed to import Azure resources. These dependencies are required to parse and import existing resource configurations into your Terraform management workflow.

What is the best way to refactor Azure resources after importing them into Terraform?

The best way to refactor imported Azure resources is to use Azure Verified Modules (AVM). Post-import refactoring with AVM ensures better maintainability of your infrastructure as code configurations.

How does Terraform resource discovery work for existing Azure environments?

Terraform resource discovery works by automatically identifying and listing existing Azure resources in your environment. This allows you to select and import infrastructure that was previously managed outside of Terraform.