terraform VS hcl

Compare terraform vs hcl and see what are their differences.

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. (by hashicorp)

hcl

HCL is the HashiCorp configuration language. (by hashicorp)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
terraform hcl
500 40
41,118 5,060
1.1% 1.3%
9.9 8.2
4 days ago 8 days ago
Go Go
GNU General Public License v3.0 or later 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.

terraform

Posts with mentions or reviews of terraform. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-11.
  • Why CISA Is Warning CISOs About a Breach at Sisense
    3 projects | news.ycombinator.com | 11 Apr 2024
    State Encryption was one of those long requested features[0] (I had it on my ideas list for years[1]) that Hashicorp didn't have much incentive to build. I don't think it has to with distancing opentofu as such, but the opentofu team prioritizing the right things that customers actually need.

    [0]: https://github.com/hashicorp/terraform/issues/9556

    [1]: https://github.com/captn3m0/ideas#-mars-terraform-remote-htt...

  • OpenTofu Response to HashiCorp's Cease and Desist Letter
    2 projects | news.ycombinator.com | 11 Apr 2024
    https://github.com/hashicorp/terraform/issues/34402

    I’m not a lawyer and have no idea who is right or wrong but I understand why Hashicorp is scrutinizing this.

  • The power of the CLI with Golang and Cobra CLI
    9 projects | dev.to | 6 Apr 2024
    Just to give an example of the power of Go for CLI builds, you may have already used or at least heard of Docker, Kubernetes, Prometheus, Terraform, but what do they all have in common? They all have a large part of their usability via CLI and are developed in Go 🐿.
  • I Deployed My Own Cute Lil’ Private Internet (a.k.a. VPC)
    8 projects | dev.to | 18 Mar 2024
    Each app’s front end is built with Qwik and uses Tailwind for styling. The server-side is powered by Qwik City (Qwik’s official meta-framework) and runs on Node.js hosted on a shared Linode VPS. The apps also use PM2 for process management and Caddy as a reverse proxy and SSL provisioner. The data is stored in a PostgreSQL database that also runs on a shared Linode VPS. The apps interact with the database using Drizzle, an Object-Relational Mapper (ORM) for JavaScript. The entire infrastructure for both apps is managed with Terraform using the Terraform Linode provider, which was new to me, but made provisioning and destroying infrastructure really fast and easy (once I learned how it all worked).
  • Configurar AWS Signer en lambda con terraform
    2 projects | dev.to | 18 Mar 2024
  • Cranelift code generation comes to Rust
    5 projects | news.ycombinator.com | 18 Mar 2024
  • The Essential Guide to Internal Developer Platforms
    3 projects | dev.to | 13 Mar 2024
    For example, integrating Terraform for infrastructure as code (IaC) into the IDP can streamline updates and rollbacks.
  • Experience Continuous Integration with Jenkins | Ansible | Artifactory | SonarQube | PHP
    8 projects | dev.to | 24 Feb 2024
    In this project, you will understand and get hands on experience around the entire concept around CI/CD from applications perspective. To fully gain real expertise around this idea, it is best to see it in action across different programming languages and from the platform perspective too. From the application perspective, we will be focusing on PHP here; there are more projects ahead that are based on Java, Node.js, .Net and Python. By the time you start working on Terraform, Docker and Kubernetes projects, you will get to see the platform perspective of CI/CD in action.
  • The 2024 Web Hosting Report
    37 projects | dev.to | 20 Feb 2024
    Infrastructure as Code (IaC) is an important part of any true hosting operation in the public cloud. Each of these platforms has their own IaC solution, e.g. AWS CloudFormation. But they also support popular open-source IaC tools like Pulumi or Terraform. A category of tools that also needs to be discussed is API gateways and other app-specific load balancers. There are applications for internal consumption, which can be called microservices if you have a lot of them. And often microservices use advanced networking options such as a service mesh instead of just the native private network offered by a VPC.
  • 🦊 GitLab CI: Deploy a Majestic Single Server Runner on AWS
    4 projects | dev.to | 17 Feb 2024
    To quickly deploy the architecture, we will be using Terraform. With Terraform, we can automate the deployment process and have our infrastructure up and running in minutes.

hcl

Posts with mentions or reviews of hcl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-23.
  • HCL: Toolkit for Structured Configuration Languages
    3 projects | news.ycombinator.com | 23 Apr 2024
  • 7 Programming Languages Every Cloud Engineer Should Know in 2024!
    4 projects | dev.to | 5 Mar 2024
    Terraform HCL (HashiCorp Configuration Language) is an essential language for cloud engineers in 2024, particularly for those involved in infrastructure as code (IaC) practices. HCL is the configuration language used by Terraform, a widely adopted tool that enables engineers to define, provision, and manage cloud infrastructure using a declarative configuration approach. Learning Terraform HCL allows cloud engineers to automate the deployment and lifecycle management of cloud resources across various service providers, ensuring consistency, repeatability, and scalability of cloud environments.
  • Pkl, a Programming Language for Configuration
    12 projects | news.ycombinator.com | 2 Feb 2024
    Reminds me of [HCL](https://github.com/hashicorp/hcl), but without all the providers to deploy the config?
  • 10 Ways for Kubernetes Declarative Configuration Management
    23 projects | dev.to | 1 Jan 2024
    HCL: A Go implementation structured configuration language. The native syntax of HCL is inspired by libucl and nginx configurations. It is used to create a structured configuration language that is friendly to humans and machines, mainly for DevOps tools, server configurations, and resource configurations as a Terraform language.
  • Show HN: Togomak – declarative pipeline orchestrator based on HCL and Terraform
    12 projects | news.ycombinator.com | 24 Oct 2023
    HCL has a JSON representation [1], internally, objects behave that way. so it should be possible to write a Jsonnet wrapper around it. Terraform can currently parse json pipelines too.

    [1]: https://github.com/hashicorp/hcl/blob/main/json/spec.md

  • Quadlets might make me finally stop using Docker-compose – Major Hayden
    7 projects | news.ycombinator.com | 26 Sep 2023
    >https://noyaml.com/

    I'm not sure this is the criticism you think it is. Wow, so you basically have to add quotes to get strings in some ambiguous situations?

    Yeah sure you could probably improve YAML by getting rid of these weird pitfalls, but that is a minor improvement. The alternative isn't something like TOML, because YAML is optimized for hierarchical configuration. It's every vendor implementing a different syntax such as Hashicorp with their HCL [0].

    [0] https://github.com/hashicorp/hcl

  • Avoiding DevOps tool hell
    9 projects | dev.to | 24 Jul 2023
    The Hashicorp corporation has made a huge impact in providing valuable tools and platforms in the cloud ecosystem. The advantage of using the tools they provide, such as Terraform, Vault, and Packer, is that they all have the same language, Hashicorp Configuration Language (HCL). This means you can easily pick up any of these tools by learning HCL, which is similar to JSON. This approach can be useful when choosing tools to learn or use for a project.
  • How would one programmatically formatting Terraform HCL
    5 projects | /r/Terraform | 18 Jun 2023
    Format is HCL language feature: https://github.com/hashicorp/hcl/blob/main/hclwrite/public.go
  • Announcing binconf - v0.1.5
    2 projects | /r/rust | 24 May 2023
    Hi, from what I read from HCL Github "HCL is a syntax and API specifically designed for building structured configuration formats.".
  • Why SQL is right for Infrastructure Management
    6 projects | dev.to | 6 Apr 2023
    When the desired state is relatively simple to define and the mechanism to reach that state is not that important, writing up a declaration of what is needed and letting something/someone else deal with it is the most logical abstraction. This would be like drafting up the architectural draft for your new restaurant and paying a contracting company to actually build it, or writing HTML and letting a web browser render it, or writing a Terraform HCL file and letting the Terraform CLI tool apply it. This is called declarative programming in the software world, and has many advantages (and a few disadvantages!) for cloud infrastructure management.

What are some alternatives?

When comparing terraform and hcl you can also consider the following projects:

terragrunt - Terragrunt is a thin wrapper for Terraform that provides extra tools for working with multiple Terraform modules.

k2tf - Kubernetes YAML to Terraform HCL converter

Docker Compose - Define and run multi-container applications with Docker

nerdctl - contaiNERD CTL - Docker-compatible CLI for containerd, with support for Compose, Rootless, eStargz, OCIcrypt, IPFS, ...

terraform-provider-restapi - A terraform provider to manage objects in a RESTful API

nerdctl - contaiNERD CTL - Docker-compatible CLI for containerd, with support for Compose, Rootless, eStargz, OCIcrypt, IPFS, ...

crossplane - The Cloud Native Control Plane

nomad-driver-containerd - Nomad task driver for launching containers using containerd.

boto3 - AWS SDK for Python

atlas - Manage your database schema as code

nvim-lspconfig - Quickstart configs for Nvim LSP

swarmpit - Lightweight mobile-friendly Docker Swarm management UI