terraform/website/data
Martin Atkins 573c2db658 provider/terraform: Terraform-specific encoding functions
Using the new possibility of provider-contributed functions, this
introduces three new functions which live in the
terraform.io/builtin/terraform provider, rather than being language
builtins, due to their Terraform-domain-specific nature.

The three new functions are:
 - tfvarsencode: takes a mapping value and tries to transform it into
   Terraform CLI's "tfvars" syntax, which is a small subset of HCL that
   only supports key/value pairs with constant values.
 - tfvarsdecode: takes a string containing content that could potentially
   appear in a "tfvars" file and returns an object representing the
   raw variable values defined inside.
 - exprencode: takes an arbitrary Terraform value and produces a string
   that would yield a similar value if parsed as a Terraform expression.

All three of these are very specialized, of use only in unusual situations
where someone is "gluing together" different Terraform configurations etc
when the usual strategies such as data sources are not suitable. There's
more information on the motivations for (and limitations of) each function
in the included documentation.
2024-02-27 16:13:48 -08:00
..
cli-nav-data.json [testing framework] Add documentation (#33454) 2023-08-31 11:45:52 +02:00
internals-nav-data.json website: restore link to machine readable ui doc (#34262) 2023-11-21 08:36:15 +00:00
intro-nav-data.json Add editions page and update sidebar 2022-01-24 12:19:19 -05:00
language-nav-data.json provider/terraform: Terraform-specific encoding functions 2024-02-27 16:13:48 -08:00