mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-25 08:21:07 -06:00
Add guidance about using the format function
This commit is contained in:
parent
41659a776e
commit
9b57fc2964
@ -341,7 +341,7 @@ The selected AMI must be tagged with the Component value "nomad-server".
|
||||
```
|
||||
|
||||
The `error_message` argument can be any expression that evaluates to a string.
|
||||
This includes literal strings, heredocs, and template expressions. Multi-line
|
||||
This includes literal strings, heredocs, and template expressions. You can use the [`format` function](/language/functions/format) to convert `null` and items from a `list` or `map` into a formatted string. Multi-line
|
||||
error messages are supported, and lines with leading whitespace will not be
|
||||
word wrapped.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user