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