github.com/hugorut/terraform@v1.1.3/website/docs/language/syntax/index.mdx (about) 1 --- 2 page_title: Syntax Overview - Configuration Language 3 description: >- 4 Terraform language syntax for both the native and JSON variants. Also learn 5 formatting conventions that you can enforce with terraform fmt. 6 --- 7 8 # Syntax 9 10 The majority of the Terraform language documentation focuses on the practical 11 uses of the language and the specific constructs it uses. The pages in this 12 section offer a more abstract view of the Terraform language. 13 14 - [Configuration Syntax](/language/syntax/configuration) describes the native 15 grammar of the Terraform language. 16 - [JSON Configuration Syntax](/language/syntax/json) documents 17 how to represent Terraform language constructs in the pure JSON variant of the 18 Terraform language. Terraform's JSON syntax is unfriendly to humans, but can 19 be very useful when generating infrastructure as code with other systems that 20 don't have a readily available HCL library. 21 - [Style Conventions](/language/syntax/style) documents some commonly 22 accepted formatting guidelines for Terraform code. These conventions can be 23 enforced automatically with [`terraform fmt`](/cli/commands/fmt).