opentofu/website/docs/configuration
Martin Atkins df47da1f8e website: "coalesce" function unifies its argument types
In order to be able to predict a result type even if arguments are not yet
known, coalesce requires all of its arguments to be of the same type. Our
usual automatic conversion rules mean that in some cases the result is
a silent type conversion rather than an explicit error, so we'll at least
document that so that folks who encounter it can understand what is
causing the likely-surprising behavior.

If we were building this function over again today I expect we'd make it
always return an error under type mismatch, but to do so now would be a
breaking change and the potential cost of that seems too high for
something that doesn't seem to arise incredibly often in practice.
2020-11-18 08:03:37 -08:00
..
blocks website: Update all links to {expressions,modules,resources}.html 2020-11-17 16:30:51 -08:00
expressions website: Break up Expressions page into smaller chunks 2020-11-17 16:30:51 -08:00
files website: Update all links to {expressions,modules,resources}.html 2020-11-17 16:30:51 -08:00
functions website: "coalesce" function unifies its argument types 2020-11-18 08:03:37 -08:00
meta-arguments website: Break up main Modules and Module Development pages 2020-11-17 16:30:51 -08:00
syntax website: Add new "glue"/overview pages for CLI and language docs 2020-11-11 19:13:23 -08:00
attr-as-blocks.html.md website: Update all links to {expressions,modules,resources}.html 2020-11-17 16:30:51 -08:00
backend.html.md website: Adopt a ton of pages into the "language" layout 2020-10-26 18:19:26 -07:00
data-sources.html.md website: Update all links to {expressions,modules,resources}.html 2020-11-17 16:30:51 -08:00
dependency-lock.html.md website: Update all links to {expressions,modules,resources}.html 2020-11-17 16:30:51 -08:00
expressions.html.md website: Break up Expressions page into smaller chunks 2020-11-17 16:30:51 -08:00
functions.html.md website: Update all links to {expressions,modules,resources}.html 2020-11-17 16:30:51 -08:00
index.html.md website: Update all links to {expressions,modules,resources}.html 2020-11-17 16:30:51 -08:00
locals.html.md website: Update all links to {expressions,modules,resources}.html 2020-11-17 16:30:51 -08:00
modules.html.md website: Break up main Modules and Module Development pages 2020-11-17 16:30:51 -08:00
outputs.html.md website: Update all links to {expressions,modules,resources}.html 2020-11-17 16:30:51 -08:00
override.html.md website: Adopt a ton of pages into the "language" layout 2020-10-26 18:19:26 -07:00
provider-requirements.html.md Merge pull request #26723 from hashicorp/oct20_language_and_cli_docs 2020-11-11 19:31:05 -08:00
providers.html.md website: Update all links to {expressions,modules,resources}.html 2020-11-17 16:30:51 -08:00
resources.html.md website: Break up Resources page into smaller chunks 2020-11-17 16:30:51 -08:00
style.html.md website: Adopt a ton of pages into the "language" layout 2020-10-26 18:19:26 -07:00
syntax-json.html.md website: Update all links to {expressions,modules,resources}.html 2020-11-17 16:30:51 -08:00
syntax.html.md website: Update all links to {expressions,modules,resources}.html 2020-11-17 16:30:51 -08:00
terraform.html.md website: Update all links to {expressions,modules,resources}.html 2020-11-17 16:30:51 -08:00
types.html.md website: Update all links to {expressions,modules,resources}.html 2020-11-17 16:30:51 -08:00
variables.html.md website: Update all links to {expressions,modules,resources}.html 2020-11-17 16:30:51 -08:00
version-constraints.html.md website: Update all links to {expressions,modules,resources}.html 2020-11-17 16:30:51 -08:00