Which of the following is not a valid string function in Terraform?
Which of the following is not a valid string function in Terraform?
A . split
B . join
C . slice
D . chomp
Answer: D
Explanation:
Reference: https://www.terraform.io/docs/language/functions/chomp.html
Latest TA-002-P Dumps Valid Version with 324 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Correct answer is C : slice according to terraform documentation.
The answer should be Slice, which is a collection function. Rest are string functions including CHOMP
chomp removes newline characters at the end of a string.