terraformer VS former2

Compare terraformer vs former2 and see what are their differences.

terraformer

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

former2

Generate CloudFormation / Terraform / Troposphere templates from your existing AWS resources. (by iann0036)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
terraformer former2
109 11
11,728 2,119
1.9% -
7.9 7.6
7 days ago 27 days ago
Go JavaScript
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

terraformer

Posts with mentions or reviews of terraformer. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-26.

former2

Posts with mentions or reviews of former2. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-11.
  • Top 10 terraform tools you should know about.
    10 projects | dev.to | 11 Dec 2023
    Former2 is a tool that automates the creation of Infrastructure-as-Code (IaC) scripts from existing AWS resources. It utilizes the AWS JavaScript SDK to scan the user’s AWS infrastructure, identifying all available resources. Users can then select from this list which resources they want to include in their IaC outputs. This process simplifies the task of writing IaC scripts, especially for complex environments, by directly converting current AWS configurations into ready-to-use code. Former2 is particularly useful for documenting existing infrastructure or for migrating manually created resources into an IaC framework.
  • Importing multiple modules at once from AWS
    4 projects | /r/Terraform | 13 Feb 2023
    You can use tools like https://github.com/cycloidio/terracognita or https://github.com/iann0036/former2 to generate the terraform code for you. Then you can consolidate them and if they are simply the same type of objects with different values then you can use terragrunt to pass values to your terraform module.
  • Is there a way to turn a existing cloudformation template into a terraform file?
    3 projects | /r/Terraform | 23 Dec 2022
  • Overwhelmed by AWS
    2 projects | /r/devops | 28 Nov 2022
    I have never tried out this tool, but maybe it's worth checking: you could create all the stuff via AWS Console in a sandbox environment and then try to use former2. Nothing autogenerated will ever be good enough compared to handcrafted, but it should give you a nice starting point without much effort.Such a tool can not be expected to work reliably. Thankfully, you need to cover only classic, foundational services like EC2, ELB, and IAM, so I would expect them to work properly for those use cases.
  • tool to log into AWS and generate Terraform code
    4 projects | /r/Terraform | 25 Aug 2021
  • Current infrastructure as code
    2 projects | /r/aws | 27 May 2021
    Not quite: a command line tool is also available: https://github.com/iann0036/former2/blob/master/cli/README.md
  • Please fix the AWS free tier before somebody gets hurt
    6 projects | news.ycombinator.com | 4 May 2021
    https://github.com/iann0036/former2

    This will scan your entire account and list all of your resources - it's actually made for generating CloudFormation templates, but it's very useful for a use-case like yours.

What are some alternatives?

When comparing terraformer and former2 you can also consider the following projects:

terracognita - Reads from existing public and private cloud providers (reverse Terraform) and generates your infrastructure as code on Terraform configuration

terraforming - Export existing AWS resources to Terraform style (tf, tfstate) / No longer actively maintained

aws-nuke - Nuke a whole AWS account and delete all its resources.

gardener - Kubernetes-native system managing the full lifecycle of conformant Kubernetes clusters as a service on Alicloud, AWS, Azure, GCP, OpenStack, vSphere, KubeVirt, Hetzner, EquinixMetal, MetalStack, and OnMetal with minimal TCO.

terraform - Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.

aws2tf - aws2tf - automates the importing of existing AWS resources into Terraform and outputs the Terraform HCL code.

aztfy - A tool to bring existing Azure resources under Terraform's management [Moved to: https://github.com/Azure/aztfexport]

iam-policy-json-to-terraform - Small tool to convert an IAM Policy in JSON format into a Terraform aws_iam_policy_document

Mermaid - Edit, preview and share mermaid charts/diagrams. New implementation of the live editor.

inframap - Read your tfstate or HCL to generate a graph specific for each provider, showing only the resources that are most important/relevant.