github.com/bengesoff/terraform@v0.3.1-0.20141018223233-b25a53629922/website/source/docs/configuration/index.html.md (about) 1 --- 2 layout: "docs" 3 page_title: "Configuration" 4 sidebar_current: "docs-config" 5 --- 6 7 # Configuration 8 9 Terraform uses text files to describe infrastructure and to set variables. 10 These text files are called Terraform _configurations_ and end in 11 `.tf`. This section talks about the format of these files as well as 12 how they're loaded. 13 14 The format of the configuration files are able to be in two formats: 15 Terraform format and JSON. The Terraform format is more human-readable, 16 supports comments, and is the generally recommended format for most 17 Terraform files. The JSON format is meant for machines to create, 18 modify, and update, but can also be done by Terraform operators if 19 you prefer. Terraform format ends in `.tf` and JSON format ends in 20 `.tf.json`. 21 22 Click a sub-section in the navigation to the left to learn more about 23 Terraform configuration.