Adapted from adambard/learnxinyminutes-docs#3949
HCL (Hashicorp Configuration Language) is a high-level configuration language used in tools from Hashicorp (such as Terraform). HCL/Terraform is widely used in provisioning cloud infastructure and configuring platforms/services through APIs. This document focuses on a most recent HCL syntax (0.13).
HCL is a declarative language and terraform will consume all *.tf
in the current folder, so code
placement order and sequence has no significance. Sub-folders can be consumed through modules.