From 52ffc097cfffe1f2c7d1881b5cef58b3c3bba96c Mon Sep 17 00:00:00 2001 From: Lucas Bajolet Date: Fri, 27 Oct 2023 19:48:14 +0000 Subject: [PATCH] backport of commit 6b93237fb6319f4d50d00e42ac4d12918bc9da50 --- .../docs/templates/hcl_templates/functions/index.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/content/docs/templates/hcl_templates/functions/index.mdx b/website/content/docs/templates/hcl_templates/functions/index.mdx index eb64615db..0a9ee2a9e 100644 --- a/website/content/docs/templates/hcl_templates/functions/index.mdx +++ b/website/content/docs/templates/hcl_templates/functions/index.mdx @@ -18,9 +18,9 @@ arguments in parentheses: max(5, 12, 9) ``` -For more details on syntax, see -[_Function Calls_](/packer/docs/templates/hcl_templates/expressions#function-calls) -on the Expressions page. +For information on invoking functions in string literals, refer to the +[String Literals](https://developer.hashicorp.com/packer/docs/templates/hcl_templates/expressions#string-literals) section +in the HCL2 expressions documentation. The HCL language does not support user-defined functions, and so only the functions built in to the language are available for use. The documentation includes all of the available built-in functions.