What is the result of the following terraform function call?
lookup({a="hello", b="goodbye"}, "c", "what?")
lookup retrieves the value of a single element from a map, given its key. If the given key does not exist, the given default value is returned instead. In this case, the function call is searching for the key 'c'. But since there is no key 'c', the default vault 'what?' is returned.
https://www.terraform.io/docs/configuration/functions/lookup.html
Letha
10 months agoMerissa
10 months agoScarlet
10 months agoLeonida
10 months agoLetha
12 months agoScarlet
12 months ago