I will not be updating this Repository anymore after 28-04-2024.
This Repository is used to showcases, uses and explain the data types of Terraform.
In sub-folders you will find the following files:
README.md
describes the contents of the foldervariables.tf
shows how a data type is defined as variablemain.tf
shows the syntax and handling of a data type in the code
Switch into the desired folder, and run terraform console
. Inspect variables and locals via CLI. Note that the function type()
is only available in terraform console
and is very helpful to learn and understand.
While writing and testing the code snippets, I've used terraform
in version v1.8.2
(Mac).