TERRAFORM-ASSOCIATE-004 · Question #90
TERRAFORM-ASSOCIATE-004 Question #90: Real Exam Question with Answer & Explanation
The correct answer is B: False. HashiCorp Configuration Language (HCL) does not support user-defined functions. You can only use the built-in functions that are provided by the language. The built-in functions allow you to perform various operations and transformations on values within expressions. The general
Question
HashiCorp Configuration Language (HCL) supports user-denned functions.
Options
- ATrue
- BFalse
Explanation
HashiCorp Configuration Language (HCL) does not support user-defined functions. You can only use the built-in functions that are provided by the language. The built-in functions allow you to perform various operations and transformations on values within expressions. The general syntax for function calls is a function name followed by comma-separated arguments in parentheses, such as max(5, 12, 9). You can find the documentation for all of the available built-in functions in the Terraform Registry or the Packer Documentation, depending on which tool you are using.
Topics
Community Discussion
No community discussion yet for this question.