Exam4Training

What is the result of the following terraform function call? index(["a", "b", "c"], "c")

What is the result of the following terraform function call? index(["a", "b", "c"], "c")
A . 1
B . true
C . 2
D . 0

Answer: C

Explanation:

index finds the element index for a given value in a list starting with index 0. https://www.terraform.io/docs/configuration/functions/index.html

Latest VA-002-P Dumps Valid Version with 200 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version