nerdexam
HashiCorpHashiCorp

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

Submitted by helene.fr· Apr 18, 2026Work with Terraform Configurations

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

#HCL#Language features#User-defined functions#Configuration syntax

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-004 PracticeBrowse All TERRAFORM-ASSOCIATE-004 Questions