terraform HCL language reference

5 min read | by Jordi Prats

HashiCorp Configuration Language (HCL) is a domain-specific language used to define infrastructure as code in terraform used to describe the desired state of infrastructure resources.

HCL is a human-readable language that intends to be easy to learn and write, allowing you to describe the desired state of your infrastructure without specifying the exact steps to achieve that state.

LC to LT

Functions

Backend

Datasources

Providers

Input variables

Lifecycle

Non-declarative

Resources


Categories
  • terraform
  • reference