philmph / Terraform-Data-Types-Training

I will use this repository to build a simple module that showcases, uses and explains the various data types of Terraform.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Terraform Data Types Training

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 folder
  • variables.tf shows how a data type is defined as variable
  • main.tf shows the syntax and handling of a data type in the code

Content

How to use

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).

References

License

About

I will use this repository to build a simple module that showcases, uses and explains the various data types of Terraform.

License:MIT License


Languages

Language:HCL 100.0%