BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

HashiCorp Exam VA-002-P Topic 11 Question 60 Discussion

Actual exam question for HashiCorp's VA-002-P exam
Question #: 60
Topic #: 11
[All VA-002-P Questions]

What is the result of the following terraform function call?

index(["a", "b", "c"], "c")

Show Suggested Answer Hide Answer
Suggested Answer: C

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


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel