nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-003 · Question #102

Which of the following is not a valid string function in Terraform?

The correct answer is C. slice. slice: This is not a valid string function in Terraform. It might exist in other programming languages but is not part of Terraform's standard string functions.

Read, generate, and modify configuration

Question

Which of the following is not a valid string function in Terraform?

Options

  • Asplit
  • Bjoin
  • Cslice
  • Dchomp

How the community answered

(22 responses)
  • A
    5% (1)
  • B
    9% (2)
  • C
    82% (18)
  • D
    5% (1)

Explanation

slice: This is not a valid string function in Terraform. It might exist in other programming languages but is not part of Terraform's standard string functions.

Topics

#built-in functions#string functions#HCL#function reference

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-003 Practice