Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Terraform
  3. terraformer

terraformer

Apache-2.0Go0.8.30

A CLI tool that generates Terraform configuration and state files from existing infrastructure (reverse Terraform).

GitHubGitHub
14.6k stars1.8k forks0 contributors

What is terraformer?

Terraformer is a CLI tool that generates Terraform configuration and state files from existing infrastructure, effectively performing 'reverse Terraform'. It connects to cloud providers and services, enumerates resources, and produces the necessary HCL/JSON and tfstate files to bring those resources under Terraform management. This solves the problem of manually writing Terraform code for pre-existing infrastructure, accelerating infrastructure-as-code adoption.

Target Audience

DevOps engineers, SREs, and cloud platform teams managing infrastructure with Terraform who need to import existing resources or migrate from manual/other IaC tools.

Value Proposition

Developers choose Terraformer for its extensive provider support, accurate state generation, and the ability to filter and plan imports, which significantly reduces the time and risk of manually recreating Terraform configurations for live environments.

Overview

CLI tool to generate terraform files from existing infrastructure (reverse Terraform). Infrastructure to Code

Use Cases

Best For

  • Importing existing cloud resources into Terraform management
  • Migrating infrastructure from manual setup or other IaC tools to Terraform
  • Generating Terraform code for complex multi-service environments
  • Creating baseline configurations for disaster recovery or environment replication
  • Auditing and documenting live infrastructure as code
  • Onboarding new team members with executable infrastructure definitions

Not Ideal For

  • Teams starting new projects that require long-term tool support and active maintenance
  • Environments where security updates or compatibility with the latest Terraform versions is critical
  • Users needing reliable support for specific providers like Cloudflare, which is broken in Terraformer
  • Projects integrated into CI/CD pipelines that depend on regularly updated tools for automation

Pros & Cons

Pros

Extensive Provider Coverage

Supports over 40 providers including AWS, GCP, Azure, Kubernetes, and niche services like GitHub and Datadog, leveraging Terraform's own providers for accurate resource mapping.

Accurate State Generation

Generates both HCL/JSON configuration files and matching tfstate files in one pass, ensuring Terraform can manage imported resources without configuration drift.

Flexible Resource Filtering

Allows precise import control with flags to filter by ID, type, or attributes, and includes a planning workflow to review changes before execution, as detailed in the filtering section.

Provider-Driven Compatibility

Uses existing Terraform providers for resource definitions, so updates to providers automatically enhance Terraformer's capabilities without tool modifications.

Cons

Deprecated and Unmaintained

The project is archived as of March 2026 with no updates, security patches, or support, making it risky for any ongoing or new infrastructure work.

Broken Provider Support

Some providers like Cloudflare are explicitly marked as broken in the docs, and others may be outdated due to the deprecation, limiting usability.

Complex Setup Process

Requires separate installation of Terraformer binaries and manual initialization of Terraform providers in a working directory, adding steps compared to integrated solutions.

Risk of Obsolete Output

Since it relies on Terraform providers, changes in provider APIs or Terraform versions post-deprecation could render generated configurations invalid without fixes.

Frequently Asked Questions

Quick Stats

Stars14,555
Forks1,839
Contributors0
Open Issues0
Last commit6 months ago
CreatedSince 2019

Tags

#devops#multi-cloud#kubernetes#cli-tool#hcl#terraform#infrastructure-as-code#iac#gcp#golang#cloud-migration#cloud#configuration-management#google-cloud#aws#reverse-engineering#terraform-configurations

Built With

G
Go

Included in

Terraform6.3k
Auto-fetched 17 hours ago

Related Projects

InfracostInfracost

Cloud cost intelligence for engineers, AI coding agents, and CI/CD 💰📉 Shift FinOps Left!

Stars12,517
Forks688
Last commit5 days ago
TerragruntTerragrunt

Terragrunt is a flexible orchestration tool that allows Infrastructure as Code written in OpenTofu/Terraform to scale.

Stars9,831
Forks1,224
Last commit1 day ago
atlantisatlantis

Terraform Pull Request Automation

Stars9,287
Forks1,340
Last commit1 day ago
CheckovCheckov

Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew.

Stars9,000
Forks1,406
Last commit3 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub