HashiCorp configuration language, aka HashiCorp configuration language, is an actively used meta language created in 2014. HCL (HashiCorp Configuration Language) is a configuration language built by HashiCorp. The goal of HCL is to build a structured configuration language that is both human and machine friendly for use with command-line tools, but specifically targeted towards DevOps tools, servers, etc. HCL is also fully JSON compatible. That is, JSON can be used as completely valid input to a system expecting HCL. This helps makes systems interoperable with other systems. HCL is heavily inspired by libucl, nginx configuration, and others similar.

6Years Old 2,304Users ?Jobs
  • HashiCorp configuration language on github
  • HashiCorp configuration language first appeared in 2014
  • file extensions for HashiCorp configuration language include hcl, tf, tfvars and workflow
  • Have a question about HashiCorp configuration language not answered here? Email me and let me know how I can help.

Example code from the web:

variable "ami" {
   description = "the AMI to use"
}
<<FOO
hello
world
FOO

Example code from Linguist:

consul = "1.2.3.4"

// This is a comment
template "foo" {
  bar = "zip"
}

Trending Repos

repo stars description
terraform-google-kubernetes-engine 146 A Terraform module for configuring GKE clusters.
terraform-guides 413 Example usage of HashiCorp Terraform
terraform-up-and-running-code 767 Code samples for the book "Terraform: Up & Running" by Yevgeniy Brikman
terraform-aws-eks 660 A Terraform module to create an Elastic Kubernetes (EKS) cluster and associated worker instances on AWS.
terraform-aws-vpc 770 Terraform module which creates VPC resources on AWS

Last updated August 9th, 2020

Edit HashiCorp configuration language on GitHub