Interview Prep/Terraform/IaC and Terraform Fundamentals

What is HCL and can Terraform use anything else?

BeginnerConceptIaC and Terraform Fundamentals
Answer

HCL (HashiCorp Configuration Language) is the human-friendly syntax of .tf files, built from blocks, arguments and expressions. Terraform also reads a JSON variant (.tf.json), which is handy for machine-generated config. Both are equivalent, but nearly everything you will see is HCL.

resource "aws_s3_bucket" "logs" {
  bucket = "acme-logs-prod"
}
All Terraform questions Roadmap: Terraform

More on IaC and Terraform Fundamentals