.tf file

A text file ending in .tf that holds Terraform configuration written in HCL.

In more detail

Terraform reads every .tf file in the current directory and treats them as one configuration; there is no main file and no import between them. By convention resources go in main.tf, variables in variables.tf and outputs in outputs.tf, but the names are only for people.

Related terms

Taught in

References

Certification courses