Skip to content

HCL

HCL, or HashiCorp Configuration Language, is the declarative syntax used by Terraform and other HashiCorp tools.

What It Is Used For

  • Terraform configuration.
  • Variable and resource definitions.
  • Declarative infrastructure code.

Practical Notes

  • HCL is designed to be readable and structured.
  • Keep expressions explicit and avoid excessive indirection.