terraform/website/docs
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
..
backends Update s3.html.md 2019-04-26 11:10:31 -03:00
commands website: Update taint command docs to reflect new 0.12 usage 2019-06-03 15:36:38 -07:00
configuration lang: yamldecode and yamlencode functions 2019-06-04 16:24:09 -07:00
configuration-0-11 website: Simplify wording for split built-in function (#20803) 2019-03-25 10:59:58 -07:00
import website: "map" a real resource to configuration, not "attach" (#17912) 2019-03-22 16:10:44 -07:00
internals website: Indicate v0.12-only content 2019-03-18 12:42:21 -07:00
modules website: Special considerations about the "scp-like" git address syntax 2019-05-14 07:38:06 -07:00
plugins website: Finish moving "writing custom providers" to /docs/extend/ 2019-01-11 16:36:40 -08:00
providers new community links + update signalFX 2019-06-03 17:19:52 -07:00
provisioners website: null_resource isn't a type of provisioner 2019-04-15 14:11:02 -07:00
registry website: Fix broken links to modules/usage and modules/create 2019-03-14 10:38:52 +00:00
state website: Fix several spelling errors 2019-03-21 18:12:11 -07:00
cli-index.html.md website: Write new content for CLI docs front page 2019-03-15 13:00:58 +00:00