terraform/website/docs/configuration
Martin Atkins 382e1ca821 lang: yamldecode and yamlencode functions
These follow the same principle as jsondecode and jsonencode, but use
YAML instead of JSON.

YAML has a much more complex information model than JSON, so we can only
support a subset of it during decoding, but hopefully the subset supported
here is a useful one.

Because there are many different ways to _generate_ YAML, the yamlencode
function is forced to make some decisions, and those decisions are likely
to affect compatibility with other real-world YAML parsers. Although the
format here is intended to be generic and compatible, we may find that
there are problems with it that'll we'll want to adjust for in a future
release, so yamlencode is therefore marked as experimental for now until
the underlying library is ready to commit to ongoing byte-for-byte
compatibility in serialization.

The main use-case here is met by yamldecode, which will allow reading in
files written in YAML format by humans for use in Terraform modules, in
situations where a higher-level input format than direct Terraform
language declarations is helpful.
2019-06-04 16:24:09 -07:00
..
functions lang: yamldecode and yamlencode functions 2019-06-04 16:24:09 -07:00
attr-as-blocks.html.md (website) Adjust intro of attr-blocks page 2019-05-06 13:07:54 -07:00
data-sources.html.md website: Fix several spelling errors 2019-03-21 18:12:11 -07:00
expressions.html.md website: Fix typo on the "expressions" documentation page 2019-05-08 10:58:22 -07: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: Fix typo in the configuration language introduction page 2019-05-08 16:31:37 -07:00
locals.html.md website: Update "Local Values" docs to use v0.12 syntax in example 2019-04-18 09:03:34 -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 odd spacing on the provider configuration syntax page 2019-05-17 08:45:08 -07:00
resources.html.md website/docs: Fixed Typo (#21137) 2019-04-29 09:19:10 -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: fix typo in the 'terraform' block documentation page 2019-05-20 14:37:03 -07: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 docs: fixed typo (#21297) 2019-05-21 15:55:44 -04:00