terraformer VS tflint

Compare terraformer vs tflint and see what are their differences.

terraformer

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

tflint

A Pluggable Terraform Linter (by terraform-linters)
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 tflint
109 30
11,742 4,572
2.0% 1.9%
7.9 8.9
14 days ago 16 days ago
Go Go
Apache License 2.0 Mozilla Public License 2.0
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.
  • Top Terraform Tools to Know in 2024
    19 projects | dev.to | 26 Mar 2024
    ‍Terraformer is a CLI tool developed by Google that generates Terraform files from existing infrastructure (reverse Terraform), simplifying the process of adopting Terraform in existing environments and speeding up the initial setup process. Terraformer supports multiple cloud providers, including AWS, Google Cloud, Azure, and others.
  • Terraformer + refactoring with 'moved' blocks
    1 project | /r/Terraform | 23 Jul 2023
    Looking into efficient ways to import existing infrastructure. Using Terraformer to get the everything into Terraform and then refactoring into modules, for_each, etc. using moved blocks seems like it would be a good approach. Refactoring them to use existing modules from providers will take a little work and likely going back and forth with terraform plan, and assuming many things won't translate straight across because of what resources a module might be creating and how they are creating them.
  • The Future of Terraform: ClickOps
    5 projects | /r/Terraform | 15 Jun 2023
    We had thought about the ability to convert HCL to Go, but not much thought in querying existing infra to generate HCL (like terraformer). If you want to experiment building on top of Lingon then please go ahead! I’d be happy to help provide the context from Lingon.
  • How do you glue Terraform resources together?
    1 project | /r/devops | 4 Jun 2023
    If "ClickOps" is your starting point, as you mention, you could try creating a new scratch cloud provider account, do all your "ClickOps", then use a TF export tool (e.g., Terraformer) to see the exported TF resources to find all the references to other TF resources in the cloud resource dependency chain.
  • Strategies for converting an existing deployment to IaC?
    2 projects | /r/devops | 31 May 2023
    I haven't worked with any of the ones that purport to work with AWS, but a quick Google shows terraformer and Terracognita as options - maybe look into trying those out?
  • Migration to gcp from aws.
    2 projects | /r/aws | 22 May 2023
    This maybe a bit more complicated if you're not into coding/terraform but I'd use terraformer to convert all of your infrastructure from implementation to code while in AWS, then switch providers and with a bit of jiggly of the code implement your infra into gcs as IaC and keep it that way if/when you switch again.
  • Quick terraform noob question about the tfstate
    1 project | /r/Terraform | 10 May 2023
    Maybe terraformer could help. I never tried it personally . https://github.com/GoogleCloudPlatform/terraformer
  • Possible to backup entire Okta configuration?
    1 project | /r/okta | 9 May 2023
  • How do I convert my CloudFormation template into a Terraform file?
    2 projects | /r/devops | 29 Apr 2023
    I've been wondering if this tool is any good. https://github.com/GoogleCloudPlatform/terraformer/blob/master/docs/aws.md
  • Migrate from terragrunt to terraform
    4 projects | /r/Terraform | 23 Apr 2023
    If you've to write the code (I assumed you just needed to reorganize it without TG) maybe consider https://github.com/GoogleCloudPlatform/terraformer

tflint

Posts with mentions or reviews of tflint. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-26.
  • Top Terraform Tools to Know in 2024
    19 projects | dev.to | 26 Mar 2024
    ‍TFLint is a Terraform linter focused on possible errors, best practices, and style conventions in your Terraform code.
  • 10 Ways for Kubernetes Declarative Configuration Management
    23 projects | dev.to | 1 Jan 2024
  • Top 10 terraform tools you should know about.
    10 projects | dev.to | 11 Dec 2023
    TFlint is a powerful linter for Terraform, designed to catch errors and issues that terraform plan may not detect. As Terraform grows in popularity for infrastructure as code, the need for robust tools to ensure code quality and reliability becomes paramount. TFlint fulfills this need by analyzing Terraform configurations to find problems that are not covered by syntax checks. It checks for things like unsuitable AWS instance types, incorrect IAM policy syntax, and the use of deprecated syntax or features. By integrating TFlint into the development process, users can proactively identify potential problems, improving the stability and efficiency of their infrastructure deployments. This additional layer of validation is crucial for maintaining high standards in complex, cloud-based infrastructures.
  • Saw a not-so-good thing in my pipeline. How do we fix it?
    4 projects | /r/Terraform | 2 Jun 2023
    Looking at the description, https://github.com/terraform-linters/tflint , I think it's not what I am looking for. The reason I used a different tcp port is to make the health check on load balancer fail. It's also the same as not changing the tcp port but developer making a code change in their javascript, nodejs, java, etc fail to start properly. If that happens, load balancer's health check will fail as well.
  • Top 4 Infrastructure as Code Open-Source Tools for 2023
    3 projects | /r/webdevelopment | 3 May 2023
    TFLint is an open-source infrastructure as code linter tool that helps developers and DevOps teams identify potential issues and errors in their Terraform code by checking the Terraform configuration files for best practices, coding standards, and policy compliance.
  • Sorting variables and outputs
    3 projects | /r/Terraform | 1 Mar 2023
    Indeed, that is the case, atm. Your comment got me searching a little bit more. It seems that they are planning to implement a flag for small fixes https://github.com/terraform-linters/tflint/issues/266
  • Looking for a tool to enforce policies on terraform files names/content
    4 projects | /r/Terraform | 23 Jan 2023
    Sounds like tflint to me!
  • New to gitlab-ci - Need help with a job in gitlab-ci.yml
    2 projects | /r/gitlab | 13 Jan 2023
    I created a .tflint.hcl with the following content: https://github.com/terraform-linters/tflint/blob/master/docs/user-guide/config.md (The example)
  • 5 tools to supercharge your Terraform Development
    3 projects | dev.to | 12 Jan 2023
    TFLint: This is a Terraform linter that checks for errors and best practices in your Terraform code. TFLint helps to catch common mistakes, such as variable name clashes, missing required variables, or invalid resource arguments. It also checks for compliance with best practices, such as naming conventions and resource ordering. By using TFLint, you can catch errors early on, which helps to improve the quality of your Terraform code.
  • Breve guia de sobrevivência com Terraform
    11 projects | dev.to | 22 Dec 2022
    tflint: Linter para Terraform, serve para avisar sobre problemas com sintaxe, erros nos principais provedores de nuvem, garantir boas práticas e outras coisas.

What are some alternatives?

When comparing terraformer and tflint 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

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

former2 - Generate CloudFormation / Terraform / Troposphere templates from your existing AWS resources.

tfsec - Security scanner for your Terraform code [Moved to: https://github.com/aquasecurity/tfsec]

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

terraform-validator - A norms and conventions validator for Terraform

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.

terratest - Terratest is a Go library that makes it easier to write automated tests for your infrastructure code.

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.

pre-commit-hooks - Some out-of-the-box hooks for pre-commit