From the course: Terraform: Managing Network Infrastructure
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Terraform configuration language basics - Terraform Tutorial
From the course: Terraform: Managing Network Infrastructure
Terraform configuration language basics
- [Instructor] Before we get to writing infrastructure as code, I want to go over a few things about the configuration language used to drive Terraform. This can be a deep topic, so I've selected some core areas that will give us a grounded baseline to build on through the duration of the course. "Whatever good things we build end up building us." Terraform's configuration language is based on a general language called HCL or HashiCorp Configuration Language, and this was created with the goal of being both human and machine friendly. HCL intends to be a structured configuration language, which means it gets decoded using an application defined schema. The Terraform language is built around two syntax constructs. The first of which is arguments, which simply assign of value to a name, and blocks, which operate as containers for other content. Let's dig into the different block types. The first of which is the…