HashiCorp Certified: Terraform Associate — Question 2
Which of the following is not a valid string function in Terraform?
Answer options
- A. split
- B. join
- C. slice
- D. chomp
Correct answer: C
Explanation
The correct answer is C, as 'slice' is not a string function in Terraform; it is used for working with lists. The other options, 'split', 'join', and 'chomp', are all valid string functions that manipulate or format string data.