Terraform on Google Cloud | #6 Variables: List, Tuple & Set

preview_player
Показать описание
Hello friends,

In the last video we saw what input variables are, three different ways to define them and how to set default values.

But there is more to it, you can actually specify:
- descriptions
- value types
- type constraints
- validation rule blocks,
- set sensitivity to limit terraform UI output

Let's discover which types are available and how to apply type constraints.

---------- TIMESTAMP ---------
0:00 - Intro
0:38 - Variable description
1:06 - String, number and bool types
2:21 - List definition
3:11 - List variable block
3:52 - Tuple block
4:20 - Set block
4:49 - How to use it

Enjoy! 😉
Рекомендации по теме
Комментарии
Автор

The best explanation I have seen yet on this topic. I read endless documentation and never really understood it. Thanks!

michaelpayne
Автор

after a lot of reading and never really understanding how the list options vary, this made it perfectly clear to me. thanks for the post!

aaronholt
Автор

I’m getting error while defining type as null. Error: the keyword null is not a valid type specification

ashu