website: Fix documentation glitch and add note about double "$"

1. The double "$" in the template confuses readers

2. As far as I can tell the variable "count" is not used either in this example
   (it is in the next example though)
This commit is contained in:
Lars Francke 2018-10-10 22:22:19 +02:00 committed by Nick Fagerlund
parent 2a64a00983
commit db6ec472ef
1 changed files with 2 additions and 4 deletions

View File

@ -472,6 +472,8 @@ output "rendered" {
Then the rendered value would be `goodnight moon!`.
Note that the double dollar signs (`$$`) are needed in inline templates. Otherwise Terraform will return an error.
You may use any of the built-in functions in your template. For more
details on template usage, please see the
[template_file documentation](/docs/providers/template/d/file.html).
@ -482,10 +484,6 @@ Here is an example that combines the capabilities of templates with the interpol
from `count` to give us a parameterized template, unique to each resource instance:
```hcl
variable "count" {
default = 2
}
variable "hostnames" {
default = {
"0" = "example1.org"