HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
GoogleCloudPlatform
terraformer
Go2019–2026
GoogleCloudPlatform / terraformer · Archived

terraformer

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

15Distinct people
15Mentions
0Explicit recommenders
14.5KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

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

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year15 dated mentions

Observed mentions: 2019-05-02 12:06:14 UTC to 2026-09-22 00:06:58 UTC.

0123452019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 2 mentions; 2 submissions, 0 comments20192020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 4 mentions; 1 submissions, 3 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 5 mentions; 1 submissions, 4 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC220
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC202
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC413
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC514
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC000
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC000
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC101
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC101

What Hacker News says

15 sources
The Terraformer tool was the biggest blessing when I had to reverse engineer our AWS stack into .tf modules. Shoutout to the Waze team for creating it! https://github.com/GoogleCloudPlatform/terraformer We built out a large serverless stack on AWS, and we got a request from higher ups to convert it all into Terraform modules for portability and transparency purposes. The Terraformer tool pulled in the entire stack and spit out the whole thing into tf files in less than 30 seconds. Everyone was super impressed on the team lol.
In Using Terraform Workspace for AWS multi account architectures
Seems like a potentially useful tool. Another related approach is https://github.com/GoogleCloudPlatform/terraformer ("reverse Terraform"), which might be better if your end goal is to build Terraform scripts for existing infra. However I like the idea of using these visualizations to grok or monitor infra; say as a Platform or Security engineering team, you might want to keep an eye on specific classes of resource like storage buckets, load balancers, etc.
In Show HN: Generate code and diagrams from live infrastructure, AWS/Azure/GCP
ohad1282·Aug 28, 2022Submission

List of most useful Terraform open-source tools

My list of most useful Terraform open-source tools: "Reverse"/creating from existing cloud resources: Terraformer: https://github.com/GoogleCloudPlatform/terraformer Aztfy (Azure only): https://github.com/Azure/aztfy Basic GitOps: Atlantis - https://www.runatlantis.io/ DRY wrapper: Terragrunt: https://github.com/gruntwork-io/terragrunt Policy as code: OPA: https://github.com/open-policy-agent/opa Static code analysis: checkov: https://github.com/bridgecrewio/checkov tfsec: https://github.com/aquasecurity/tfsec terrascan: https://github.com/tenable/terrascan kics: https://github.com/Checkmarx/kics Cost: Infracost (estimation): https://github.com/infracost/infracost Terratag (tagging): https://github.com/env0/terratag (disclaimer, I am CEO at env0) Documentation: terraform-docs: https://github.com/terraform-docs/terraform-docs Do you have o
Read the rest
ther Terraform-related open-source tools that you recommend? Please go ahead and add in the comments!
22 points · Open discussion
I haven't found a good way to handle resources that were created outside TF. Like a EC2 instance running in staging to debug an issue, but then forgotten about. They don't exist in TF state or config so TF simply ignores them. I've tried terraformer[1], but I can't tell how well maintained that is (it failed to get my creds, I had to modify the code to fix it, and then it crashed with an obscure error). Anyone have a good approach? 1. https://github.com/GoogleCloudPlatform/terraformer
In Terraform should have remained stateless

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.