Type Constraints - Set
Learn how to use the Terraform type constraints Set.
We'll cover the following...
We'll cover the following...
Set
A set is almost the same as a list. The key difference is that a set only contains unique values.
In the above example, we define a variable called my_set and initialize it to the set [7, 2, 2]. As stated above, a set only contains unique values,
so when we ...