Terraform Flashcards

1
Q

How do you find the value of map when you have its key?

A

Using lookup function.
lookup(map, key, default)

If key has no value in map then default is returned.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly