II.
Language overview
Reference · livelanguage:hcl
HCL overview
HCL (HashiCorp Configuration Language) is a structured configuration language designed to be both human-readable and machine-parseable. It is the primary language for Terraform infrastructure definitions, Packer build templates, Vault policies, and Nomad job specs. HCL supports expressions, loops (for_each, count, dynamic blocks), functions, locals, and module composition. Its type system supports strings, numbers, booleans, lists, maps, and objects. The HCL2 version introduced more powerful expression semantics. Terraform-specific HCL adds provider, resource, data, and output blocks that drive infrastructure-as-code workflows across AWS, GCP, Azure, and hundreds of other providers via the Terraform Registry.
Attributes
displayName
HCL
paradigms
- declarative
- configuration
description
HCL (HashiCorp Configuration Language) is a structured configuration
language designed to be both human-readable and machine-parseable. It
is the primary language for Terraform infrastructure definitions,
Packer build templates, Vault policies, and Nomad job specs.
HCL supports expressions, loops (for_each, count, dynamic blocks),
functions, locals, and module composition. Its type system supports
strings, numbers, booleans, lists, maps, and objects. The HCL2 version
introduced more powerful expression semantics. Terraform-specific HCL
adds provider, resource, data, and output blocks that drive
infrastructure-as-code workflows across AWS, GCP, Azure, and hundreds
of other providers via the Terraform Registry.
Outgoing edges
used_by_skill_area1
- skill-area:terraform-infrastructure·SkillAreaTerraform Infrastructure as Code
Incoming edges
belongs_to_language2
- tool:opentofu·ToolOpenTofu
- tool:terraform·ToolTerraform
composed_of6
- stack-profile:kubernetes-platform-engineering·StackProfile
- stack-profile:cicd-platform·StackProfile
- stack-profile:terraform-landing-zone·StackProfileTerraform Landing Zone (Terraform, HCL, Vault, Go, OPA)
- stack-profile:disaster-recovery·StackProfileDisaster Recovery (Terraform, Kubernetes, Prometheus, PostgreSQL, S3)
- stack-profile:secrets-management·StackProfileSecrets Management (Vault, Kubernetes, Terraform, Docker, Go)
- stack-profile:hybrid-cloud-onprem·StackProfileHybrid Cloud — On-Prem + Cloud (Kubernetes, Terraform, Vault, Prometheus, ArgoCD, Helm)
uses_language1
- skill-area:terraform-infrastructure·SkillAreaTerraform Infrastructure as Code