github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/content/docs/job-specification/hcl2/functions/index.mdx (about) 1 --- 2 layout: docs 3 page_title: Functions - Configuration Language 4 description: |- 5 The HCL language has a number of built-in functions that can be called 6 from within expressions to transform and combine values. 7 --- 8 9 # Built-in Functions 10 11 The HCL language includes a number of built-in functions that you can 12 call from within expressions to transform and combine values. The general 13 syntax for function calls is a function name followed by comma-separated 14 arguments in parentheses: 15 16 ```hcl 17 max(5, 12, 9) 18 ``` 19 20 HCL functions are executed on job submission and cannot be combined with client 21 side interpolation. 22 23 The HCL language does not support user-defined functions, and so only 24 the functions built in to the language are available for use. The navigation 25 for this section includes a list of all of the available built-in functions.