Terraformer

A CLI tool to generate terraform files from existing infrastructure.

Visit Website →

Overview

Terraformer is an open-source command-line interface tool, developed by Google, that performs reverse Terraform. It connects to cloud providers, scans existing infrastructure, and generates Terraform HCL code and state files for those resources. This is incredibly useful for teams looking to adopt IaC for environments that were created manually or with other tools.

✨ Key Features

  • Generates Terraform code from existing infrastructure (reverse Terraform)
  • Supports multiple cloud providers (AWS, GCP, Azure, etc.)
  • Can import resources into a Terraform state file
  • Filtering capabilities to target specific resources
  • Open-source

🎯 Key Differentiators

  • Developed and maintained by Google.
  • Extensive list of supported providers.
  • Purely open-source and CLI-based.

Unique Value: Dramatically lowers the barrier to adopting Infrastructure as Code by automating the creation of Terraform configurations from existing cloud resources.

🎯 Use Cases (4)

Bringing existing, manually-managed infrastructure under Terraform control. Onboarding a new project to IaC. Auditing existing resources by viewing them as code. Generating a baseline Terraform configuration for a brownfield environment.

✅ Best For

  • Generating Terraform files from existing infrastructure to speed up IaC adoption.

💡 Check With Vendor

Verify these considerations match your specific requirements:

  • Managing the lifecycle of infrastructure (it's a one-time import tool, not a management platform).

🏆 Alternatives

Firefly (Codification feature) TerraCognita

As a free and open-source tool with broad provider support, it is a highly accessible option compared to commercial platforms with similar features.

💻 Platforms

Desktop (CLI)

✅ Offline Mode Available

🔌 Integrations

AWS Google Cloud Azure Kubernetes Cloudflare Datadog and many others

💰 Pricing

Contact for pricing
Free Tier Available

Free tier: Fully open-source and free.

Visit Terraformer Website →