terraform/website/docs/configuration
Kristin Laemmert d4669246c7
funcs/coalesce: return the first non-null, non-empty-string element from a sequence (#21002)
* funcs/coalesce: return the first non-null, non-empty element from a
sequence.

The go-cty coalesce function, which was originally used here, returns the
first non-null element from a sequence. Terraform 0.11's coalesce,
however, returns the first non-empty string from a list of strings.

This new coalesce function aims to preserve terraform's documented
functionality while adding support for additional argument types. The
tests include those in go-cty and adapted tests from the 0.11 version of
coalesce.

* website/docs: update coalesce function document
2019-04-12 13:57:52 -04:00
..
functions funcs/coalesce: return the first non-null, non-empty-string element from a sequence (#21002) 2019-04-12 13:57:52 -04:00
attr-as-blocks.html.md website: Documentation of the special "attributes as blocks" mode 2019-04-04 13:49:37 -07:00
data-sources.html.md website: Fix several spelling errors 2019-03-21 18:12:11 -07:00
expressions.html.md website: fix broken anchor link (to #for-expressions) 2019-03-14 10:38:52 +00:00
functions.html.md website: Version notes: Add new -> old links to 0.12 language docs (except function pages) 2019-02-01 17:20:54 -08:00
index.html.md website: Version notes: Add new -> old links to 0.12 language docs (except function pages) 2019-02-01 17:20:54 -08:00
locals.html.md website: Fix typo in the Local Values documentation 2019-03-13 09:48:54 -07:00
modules.html.md website: Fix broken links to modules/usage and modules/create 2019-03-14 10:38:52 +00:00
outputs.html.md website: Expand output values docs (#20790) 2019-03-22 15:08:55 -07:00
override.html.md website: Version notes: Add new -> old links to 0.12 language docs (except function pages) 2019-02-01 17:20:54 -08:00
providers.html.md website: Fix broken links to modules/usage and modules/create 2019-03-14 10:38:52 +00:00
resources.html.md Fix docs typo (#20924) 2019-04-04 11:21:36 -04:00
style.html.md website: Version notes: Add new -> old links to 0.12 language docs (except function pages) 2019-02-01 17:20:54 -08:00
syntax-json.html.md website: Fix several spelling errors 2019-03-21 18:12:11 -07:00
syntax.html.md website: Fix several spelling errors 2019-03-21 18:12:11 -07:00
terraform-enterprise.html.md website: Version notes: Add new -> old links to 0.12 language docs (except function pages) 2019-02-01 17:20:54 -08:00
terraform.html.md website: Version notes: Add new -> old links to 0.12 language docs (except function pages) 2019-02-01 17:20:54 -08:00
types.html.md website: Version notes: Add new -> old links to 0.12 language docs (except function pages) 2019-02-01 17:20:54 -08:00
variables.html.md website: adding examples of complex variables on the command line (#20871) 2019-04-01 07:51:17 -04:00