Use of Structural Types
Explore how to use Terraform's structural types, object and tuple, to define variables with multiple data types. Understand their differences from collections for better configuration management and module development.
We'll cover the following...
We'll cover the following...
The structural types allow us to create a more complex object, where the values can be of multiple types. This is distinctly different from collection types, where each value in the collection must be of the same type.
Types of structural types
There are two structural types.