Terraform caf rover: Terraform Language Syntax
- Understand Terraform Language Basics 1. Understand Blocks 2. Understand Arguments, Attributes & Meta-Arguments 3. Understand Identifiers 4. Understand Comments
TERRAFORM CAF ROVER SERIES
Basant Pandey
6/24/20231 min read
Terraform Language
Terraform Basic elements
The HashiCorp Configuration Language (HCL) is the low-level language for the Terraform Language and alternative JSON syntax.
Blocks: Blocks are containers for other content and usually represent the configuration of some kind of object, like a resource.
Block Type: Blocks have a block type.
Block Label: Can have zero or more labels. The block label contains the name of the block.
Block Body: The body that contains any number of arguments and nested blocks.
Arguments: Assign the value to a name. It appears within blocks.
Expression: literally represent a value by referencing and combining other values.
References
https://developer.hashicorp.com/terraform/language
https://developer.hashicorp.com/terraform/language/syntax/configuration
Build your own dreams
Or someone else will hire you to build theirs. Here is how you can take action – starting today.