opentofu/website/layouts
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
..
backend-types.erb website: move docs/index.html to docs/cli-index.html 2019-03-15 13:00:58 +00:00
commands-providers.erb website: move docs/index.html to docs/cli-index.html 2019-03-15 13:00:58 +00:00
commands-state.erb website: move docs/index.html to docs/cli-index.html 2019-03-15 13:00:58 +00:00
commands-workspace.erb website: Add workspace show command to sidebar nav (#20800) 2019-03-22 15:06:53 -07:00
docs.erb website: null_resource isn't a type of provisioner 2019-04-15 14:11:02 -07:00
downloads.erb website: Use a middleman partial for "other docs" list instead of hardcoding it 2019-03-14 10:38:07 +00:00
functions.erb lang: yamldecode and yamlencode functions 2019-06-04 16:24:09 -07:00
guides.erb website: Use a middleman partial for "other docs" list instead of hardcoding it 2019-03-14 10:38:07 +00:00
intro.erb website: Use a middleman partial for "other docs" list instead of hardcoding it 2019-03-14 10:38:07 +00:00
registry.erb website: Use a middleman partial for "other docs" list instead of hardcoding it 2019-03-14 10:38:07 +00:00
terraform.erb provider/terraform: reorganize for merge into core 2017-11-02 10:46:31 -07:00