What does HackerNews think of terraformer?

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

Language: Go

#13 in Go
#1 in Terraform
#13 in Kubernetes
#1 in Terraform
And here comes Terraformer: https://github.com/GoogleCloudPlatform/terraformer It doesn't import anything, but generates the .tf files for you.

Disclaimer: I have used that, but not for GitHub.

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.

> I was really hoping this was "automatically generate Terraform FROM AWS" to import existing resources.

You might be interested in Terraformer. https://github.com/GoogleCloudPlatform/terraformer

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

I wasn't aware of terraformer[1] - anyone have any experience with it?

[1] https://github.com/GoogleCloudPlatform/terraformer

How does this compare to https://github.com/GoogleCloudPlatform/terraformer -- looks like it is more continuously updating and user friendly?
Check out Terraformer: https://github.com/GoogleCloudPlatform/terraformer

This has been instrumental in importing and generating configs from existing infrastructure.

Yes! Its great to capture a bespoke configuration in code. You may already know this but there is a tool called terraformer that has limited support for doing just this: https://github.com/GoogleCloudPlatform/terraformer