terraform/website/docs
Martin Atkins bfbd00a23c website: Note about using jsonencode/yamlencode in templatefile
It's a common source of errors to try to produce JSON or YAML syntax
using string concatenation via our template language but to miss some
details like correct string escaping, quoting, required commas, etc.

The jsonencode and yamlencode functions are a better way to generate JSON
and YAML, but it's not immediately obvious that both of these functions
are available for use in external templates (via templatefile) too.

Given that questions related to this come up a lot in our community forum
and elsewhere, it seems worth having a documentation section to show the
pattern of having a template that consists only of a single function call.
2019-12-11 12:57:01 -08:00
..
backends website: Fix example reference for remote backend (#23455) 2019-11-21 10:18:24 -08:00
commands command: New -compact-warnings option 2019-12-10 11:53:14 -08:00
configuration website: Note about using jsonencode/yamlencode in templatefile 2019-12-11 12:57:01 -08:00
configuration-0-11 website: interpolation: clean up more placeholder formatting 2019-11-18 12:32:51 -08:00
import Change wording back to attach, add for_each mention 2019-11-01 11:47:46 -04:00
internals docs/internal/resource-addressing: Omit for_each full splat example for now 2019-08-08 08:56:57 -04:00
modules website: Fix a missing word in the Module Composition page 2019-10-28 15:19:26 -07:00
plugins website: Finish moving "writing custom providers" to /docs/extend/ 2019-01-11 16:36:40 -08:00
providers add stackpath links 2019-12-05 16:29:01 -08:00
provisioners website: Fix extension_requests argument name for Puppet provisioner 2019-11-06 17:14:12 -08:00
registry website: Add Terraform Registry Provider Docs page (#23139) 2019-10-28 16:05:22 -04:00
state website: Remove reference to the now-deprecated pgp_key provider design pattern 2019-11-06 17:05:09 -08:00
cli-index.html.md website: Update URLs and name references for Terraform Cloud rebrand 2019-08-16 15:55:29 -07:00