2018-05-07 03:32:16 +02:00
---
2021-12-15 03:41:17 +01:00
page_title: Functions - Configuration Language
description: >-
An introduction to the built-in functions that you can use to transform and
combine values in expressions.
2018-05-07 03:32:16 +02:00
---
# Built-in Functions
2020-12-01 22:10:05 +01:00
> **Hands-on:** Try the [Perform Dynamic Operations with Functions](https://learn.hashicorp.com/tutorials/terraform/functions?in=terraform/configuration-language&utm_source=WEBSITE&utm_medium=WEB_IO&utm_offer=ARTICLE_PAGE&utm_content=DOCS) tutorial on HashiCorp Learn.
2018-05-07 03:32:16 +02:00
The Terraform language includes a number of built-in functions that you can
call from within expressions to transform and combine values. The general
syntax for function calls is a function name followed by comma-separated
arguments in parentheses:
```hcl
max(5, 12, 9)
```
For more details on syntax, see
2021-12-15 03:41:17 +01:00
[_Function Calls_](/language/expressions/function-calls)
2020-11-13 03:30:52 +01:00
in the Expressions section.
2018-05-07 03:32:16 +02:00
The Terraform language does not support user-defined functions, and so only
the functions built in to the language are available for use. The navigation
2018-12-11 01:14:33 +01:00
for this section includes a list of all of the available built-in functions.
2018-05-07 03:32:16 +02:00
You can experiment with the behavior of Terraform's built-in functions from
the Terraform expression console, by running
2021-12-15 03:41:17 +01:00
[the `terraform console` command](/cli/commands/console):
2018-05-07 03:32:16 +02:00
```
> max(5, 12, 9)
12
```
The examples in the documentation for each function use console output to
illustrate the result of calling the function with different parameters.