TA-002-P · Question #103
The Terraform language does not support user-defined functions, and so only the functions built in to the language are available for use.
The correct answer is B. True. The Terraform language exclusively provides built-in functions and does not support the creation of custom, user-defined functions.
Question
The Terraform language does not support user-defined functions, and so only the functions built in to the language are available for use.
Options
- AFalse
- BTrue
How the community answered
(27 responses)- A11% (3)
- B89% (24)
Why each option
The Terraform language exclusively provides built-in functions and does not support the creation of custom, user-defined functions.
The statement is true; Terraform does not allow user-defined functions, making this choice incorrect.
Terraform's configuration language (HCL) includes a comprehensive set of built-in functions for various operations. However, it does not offer a mechanism for users to define their own custom functions within the configuration files.
Concept tested: Terraform built-in functions
Source: https://developer.hashicorp.com/terraform/language/functions/standard
Topics
Community Discussion
No community discussion yet for this question.