# GoogleCloudPlatform/terraformer

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

Repository: https://github.com/GoogleCloudPlatform/terraformer
Canonical: https://ross.abutalabs.com/products/terraformer
Language: Go
License: Apache-2.0
License Family: permissive
Topics: cloud, terraform, terraform-configurations, gcp, google-cloud, hcl, golang, infrastructure-as-code, aws, kubernetes
Archived: true
Last push: 2026-03-16T20:12:11+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 72, release rhythm 8, longevity 100
- inputs: {"age_days": 2681, "days_push": 170, "days_rel": 525, "gap_med": null, "n_releases_24m": 1}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 14559, forks 1841 (observed 2026-08-28T04:11:07.231317+00:00)

## What it is
Terraformer is a Go CLI tool that generates Terraform configuration (tf/) and tfstate files from existing cloud infrastructure, effectively performing 'reverse Terraform' (infrastructure to code). It supports many providers including GCP, AWS, Azure, Kubernetes, Cloudflare, GitHub, and various monitoring services.

## Use cases
- generate terraform files from existing infrastructure
- import existing cloud resources into terraform state
- reverse engineer terraform configs from gcp project
- convert aws infrastructure to terraform code
- bootstrap terraform for an unmanaged cloud environment
- export kubernetes resources as terraform hcl

## When to choose
- you need to bring existing infrastructure under Terraform management
- you want to generate baseline HCL/tfstate from a live cloud account
- you need multi-provider import coverage (GCP, AWS, Azure, etc.)

## When to avoid
- you need ongoing support or security patches - the project was archived and deprecated as of March 2026
- you want actively maintained import tooling - consider alternatives like terraform's built-in import blocks or community forks
- you need Cloudflare support - it is documented as broken

## Facets
- artifact type: cli-tool
- maturity: abandoned
- function: infrastructure-as-code, cloud, developer-tools, cli
- domain: infrastructure-as-code, cloud-computing, developer-tools
- platform: windows, cli, go
- tags: terraform, reverse-terraform, hcl, gcp, aws, azure, kubernetes, deprecated, archived, devops, linux, macos

## Member repositories
- GoogleCloudPlatform/terraformer (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:07.231317+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:12:29.412945+00:00, confidence not recorded.
  - readme: https://github.com/GoogleCloudPlatform/terraformer (fetched 2026-08-28T04:11:07.231317+00:00, sha e8a5daaf1887)
- Data as of 2026-08-30T08:39:29.467469+00:00.
