Update website/docs/language/functions/format.mdx

This commit is contained in:
Laura Pacilio 2022-06-30 17:35:50 -04:00 committed by GitHub
parent e90f9286c2
commit 91d6c50ccc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ other similar functions in other programming languages.
format(spec, values...)
```
In addition to `string`, `bool`, and `number`, you can use `format` to convert items of `null`, `list`, and `map` types into a formatted string.
You can use `format` to convert all [Terraform language types](/language/expressions/types#types) into a formatted string, including items of `null`, `list`, and `map` types.
## Examples