Terraform configuration
The complete set of .tf files in one directory, which Terraform reads and treats as a single description of infrastructure.
In more detail
Every command operates on a directory, never a single file. A configuration can call modules from other directories, and the one you run commands in is called the root module.
Related terms
- .tf file — A text file ending in .tf that holds Terraform configuration written in HCL.
- root module — The configuration in the directory where you run Terraform commands, which may call other modules.
- HCL — HashiCorp Configuration Language: the block-based configuration syntax of Terraform files, which end in .tf.
Taught in
- Installing Terraform And Meeting The CLI — Infrastructure as Code with Terraform
- Writing Your First Configuration In HCL — Infrastructure as Code with Terraform
- Why Modules: Composition Versus Monoliths — Infrastructure as Code with Terraform
- Infrastructure As Code, And One Workflow For Every Platform — HashiCorp Terraform Associate (004) Exam Prep
- Expressions And Functions: Making Configuration Compute — HashiCorp Terraform Associate (004) Exam Prep
- VCS, CLI And API Workflows: Speculative Plans And Run Triggers — HashiCorp Terraform Associate (004) Exam Prep