awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

Terraform Infrastructure Code Generators

Ranking updated Jun 30, 2026

For a tool for importing infrastructure into Terraform, the first results are googlecloudplatform/terraformer (Terraformer is purpose-built for reverse-engineering live cloud resources into Terraform HCL and state files, directly matching your need for automated discovery and code generation across multiple providers), dtan4/terraforming (This tool automatically scans existing AWS resources and generates Terraform configuration files and state, but it only supports AWS and is no longer actively maintained, narrowing its scope) and cycloidio/terracognita (TerraCognita reads existing cloud resources from multiple providers and generates Terraform HCL configuration, directly fulfilling the need for automated infrastructure scanning and code generation). diggerhq/digger and argoproj/argo-cd round out the shortlist. Compare the match explanations and check the project documentation against your requirements.

Automated tools that scan existing cloud environments to produce corresponding Terraform configuration files and state.

Terraform Infrastructure Code Generators

Find the best repos with AI.We'll search the best matching repositories with AI.
  • googlecloudplatform/terraformerGoogleCloudPlatform avatar

    GoogleCloudPlatform/terraformer

    14,551View on GitHub↗

    Terraformer is a reverse engineering tool and infrastructure-to-code generator that transforms existing live cloud resources into declarative configuration files and state manifests. It functions as a cloud infrastructure exporter, allowing users to extract resource metadata from cloud providers to create reproducible infrastructure deployments. The tool specializes in reverse engineering by querying cloud provider APIs to map active resource configurations and translate them into Terraform resource blocks. It supports infrastructure state recovery by reconstructing state files from live envi

    Terraformer is purpose-built for reverse-engineering live cloud resources into Terraform HCL and state files, directly matching your need for automated discovery and code generation across multiple providers.

    GoCloud Resource Inventory
    View on GitHub↗14,551
  • dtan4/terraformingdtan4 avatar

    dtan4/terraforming

    4,260View on GitHub↗

    Terraforming is an infrastructure as code generator and AWS Terraform resource exporter. It converts live cloud infrastructure into declarative configuration and state files, allowing existing cloud resources to be brought under programmatic management. The tool functions as a state file manager capable of generating and merging JSON state files. It translates live cloud provider API responses into HashiCorp Configuration Language syntax and can integrate newly exported resource data into existing state files without overwriting unrelated entries. The system includes capabilities for resourc

    This tool automatically scans existing AWS resources and generates Terraform configuration files and state, but it only supports AWS and is no longer actively maintained, narrowing its scope.

    RubyTerraform State ImportersHCL Configuration ToolingState-to-Terraform Exporters
    View on GitHub↗4,260
  • cycloidio/terracognitacycloidio avatar

    cycloidio/terracognita

    2,380View on GitHub↗

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

    TerraCognita reads existing cloud resources from multiple providers and generates Terraform HCL configuration, directly fulfilling the need for automated infrastructure scanning and code generation.

    GoWorkflow AutomationWorkflow Utilities
    View on GitHub↗2,380
  • diggerhq/diggerdiggerhq avatar

    diggerhq/digger

    4,979View on GitHub↗

    Digger is a GitOps infrastructure automation system and Terraform orchestrator. It enables the execution of infrastructure plans and applies directly from version control pull requests and CI pipelines. The project provides a framework for policy-based governance and state management. It enforces role-based access controls and custom security policies on infrastructure changes, while centrally storing state files with version history and access controls. The system manages infrastructure workflows through pull request comment triggers and remote execution. It includes capabilities for drift

    Digger orchestrates Terraform workflows through GitOps and PR-driven plan/apply, but it does not scan existing cloud infrastructure to generate Terraform HCL configuration files, which is the core capability this search is looking for.

    GoDrift DetectionDrift Detection
    View on GitHub↗4,979
  • argoproj/argo-cdargoproj avatar

    argoproj/argo-cd

    22,087View on GitHub↗

    Argo CD is a declarative, GitOps-based continuous delivery tool designed for Kubernetes. It functions as a centralized control plane that synchronizes application states from version-controlled repositories directly into target clusters, ensuring that the live environment consistently matches the desired configuration defined in Git. The platform distinguishes itself through its ability to manage multi-cluster deployments from a single interface, providing unified oversight across distinct computing environments. It employs a controller-based reconciliation loop to continuously monitor for co

    Argo CD is a GitOps continuous delivery tool for Kubernetes that reconciles cluster state with Git, but it does not scan existing cloud infrastructure or produce Terraform configuration files, which is the core need here.

    GoDrift DetectionDeclarative Reconciliation Engines
    View on GitHub↗22,087
  • hashicorp/terraform-provider-awshashicorp avatar

    hashicorp/terraform-provider-aws

    10,951View on GitHub↗

    This project is an infrastructure as code tool designed to automate the lifecycle management of Amazon Web Services resources. It functions as a cloud resource provisioner that enables users to define, version, and deploy infrastructure components through declarative configuration files. The system operates by reconciling the current state of a cloud environment against a desired configuration, calculating the necessary delta operations to achieve convergence. It utilizes a directed acyclic graph to resolve resource dependencies and determine the optimal execution order for changes, ensuring

    This is a Terraform provider plugin that manages AWS resources after they are defined in HCL, not a tool that automatically scans existing cloud infrastructure and generates Terraform configuration — you would combine it with an import/scanning tool (like terraformer) to accomplish what this search asks for.

    GoDeclarative Reconciliation EnginesDependency Graph Engines
    View on GitHub↗10,951
  • spinnaker/spinnakerspinnaker avatar

    spinnaker/spinnaker

    9,740View on GitHub↗

    Spinnaker is a multi-cloud continuous delivery platform designed to automate software releases and deployment pipelines across various public cloud providers and Kubernetes clusters. It functions as a cloud deployment orchestrator and infrastructure delivery tool, coordinating the promotion of software artifacts through multiple environments using visual workflows and directed acyclic graphs. The platform distinguishes itself with a dedicated canary analysis engine that compares performance metrics between new and stable software versions to automate release decisions. It utilizes cloud-agnos

    Spinnaker is a multi-cloud continuous delivery and deployment orchestration platform, not a tool that scans existing infrastructure to generate Terraform code—it focuses on deploying applications rather than importing or codifying existing resources.

    JavaMulti-Cloud OrchestratorsDeclarative Infrastructure ReconciliationMulti-Cloud Deployments
    View on GitHub↗9,740
  • skypilot-org/skypilotskypilot-org avatar

    skypilot-org/skypilot

    10,172View on GitHub↗

    SkyPilot is a multi-cloud AI orchestrator and distributed task scheduler designed to launch and manage AI workloads across various cloud providers, Kubernetes, and Slurm clusters. It functions as an infrastructure-as-code framework that uses declarative files to define resource requirements and setup commands for consistent execution across different environments. The project differentiates itself through automated cost optimization, selecting the most affordable GPU or TPU hardware and managing spot instances to reduce expenses. It also provides a remote development environment that bridges

    SkyPilot is an AI workload orchestrator for deploying tasks across clouds, not a tool that scans existing infrastructure to generate Terraform HCL code.

    PythonMulti-Cloud OrchestratorsMulti-Cloud Deployments
    View on GitHub↗10,172
  • pulumi/pulumipulumi avatar

    pulumi/pulumi

    24,797View on GitHub↗

    Pulumi is an infrastructure-as-code framework that enables the definition, deployment, and management of cloud resources using general-purpose programming languages. It functions as a cloud resource orchestrator that coordinates the lifecycle of heterogeneous infrastructure by executing code to construct dependency graphs and reconciling the desired state against actual cloud environments. The platform distinguishes itself through a language-host runtime bridge that allows developers to use standard programming languages to define infrastructure, rather than relying solely on domain-specific

    Pulumi is an infrastructure-as-code framework that uses general-purpose languages, not Terraform HCL; it can import existing resources into its own state but does not generate Terraform configuration files as requested.

    GoDrift DetectionDrift DetectionMulti-Cloud Orchestrators
    View on GitHub↗24,797
  • hashicorp/terraformhashicorp avatar

    hashicorp/terraform

    48,720View on GitHub↗

    Terraform is a declarative infrastructure-as-code tool designed to manage the lifecycle of cloud and on-premises resources. It functions as a workflow engine that reconciles a defined desired state against real-world infrastructure, using a persistent state-tracking layer to maintain consistency and visibility across distributed environments. By mapping infrastructure components into a directed acyclic graph, the system calculates the optimal order for provisioning, updating, or destroying resources. The platform is distinguished by its extensible plugin-based architecture, which decouples co

    Terraform itself is the declarative IaC engine that manages resources via HCL, but it lacks the automated scanning and code generation from existing infrastructure that you're looking for — separate tools like Terraformer or Terracognita provide that discovery-and-import pipeline.

    GoMulti-Cloud OrchestratorsDependency Graph Engines
    View on GitHub↗48,720
  • layer5io/mesherylayer5io avatar

    layer5io/meshery

    10,914View on GitHub↗

    Meshery is a cloud native management plane used for the orchestration and administration of service meshes and Kubernetes clusters across multiple cloud providers. It provides a centralized interface to configure cloud native components and manage infrastructure through a unified abstraction layer. The platform features a visual infrastructure modeler that translates diagrams into manifests and a simulation engine for dry-running configuration changes. It synchronizes infrastructure state with version control via GitOps workflows, providing visual previews of pull request changes to evaluate

    Meshery is a cloud native management plane for service meshes and Kubernetes orchestration, not a tool dedicated to scanning existing cloud infrastructure and generating Terraform HCL code — it visualizes and models configurations but does not automatically discover resources or produce Terraform import blocks.

    TypeScriptMulti-Cloud Orchestrators
    View on GitHub↗10,914
  • opentofu/opentofuopentofu avatar

    opentofu/opentofu

    29,206View on GitHub↗

    OpenTofu is a declarative infrastructure orchestrator that automates the provisioning and management of cloud resources. It functions as a platform-agnostic interface, allowing users to define their desired environment state in configuration files, which the system then reconciles against live infrastructure to calculate and execute necessary updates. The project utilizes a graph-based execution engine to determine the optimal sequence for resource operations, enabling the parallel processing of independent components to reduce deployment times. To support complex, multi-platform environments

    OpenTofu is a declarative infrastructure orchestrator, not a tool that automatically scans existing cloud resources and generates HCL—it requires you to write or manually import resource definitions rather than discovering and producing configuration from your live environment.

    GoDeclarative Reconciliation Engines
    View on GitHub↗29,206
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
googlecloudplatform/terraformer14.6KGoApache-2.0Mar 16, 2026
dtan4/terraforming4.3KRubyMITDec 11, 2021
cycloidio/terracognita
2.4K
Go
MIT
Sep 2, 2025
diggerhq/digger5KGoMITJun 12, 2026
argoproj/argo-cd22.1KGoapache-2.0Feb 19, 2026
hashicorp/terraform-provider-aws11KGoMPL-2.0Jun 23, 2026
spinnaker/spinnaker9.7KJavaApache-2.0Jun 17, 2026
skypilot-org/skypilot10.2KPythonApache-2.0Jun 17, 2026
pulumi/pulumi24.8KGoapache-2.0Feb 19, 2026
hashicorp/terraform48.7KGoNOASSERTIONJun 16, 2026

Related searches

  • a tool for detecting infrastructure drift
  • a cloud resource inventory tool
  • a Terraform policy and compliance checker
  • a tool for diagramming Terraform infrastructure
  • a tool that prices Terraform changes
  • a self-hosted Terraform automation platform
  • an IaC tool using general-purpose languages
  • a tool for diagramming cloud architecture