Update template provider

This commit is contained in:
Seth Vargo 2017-04-10 12:29:20 -04:00
parent a765c320e4
commit 0540c213c0
No known key found for this signature in database
GPG Key ID: C921994F9C27E0FF
2 changed files with 26 additions and 26 deletions

View File

@ -6,7 +6,7 @@ description: |-
Renders a multi-part cloud-init config from source files.
---
# template\_cloudinit\_config
# template_cloudinit_config
Renders a multi-part cloud-init config from source files.

View File

@ -6,7 +6,7 @@ description: |-
Renders a template from a file.
---
# template\_file
# template_file
Renders a template from a file.
@ -83,7 +83,7 @@ To access interpolations that are normally available to Terraform
configuration (such as other variables, resource attributes, module
outputs, etc.) you'll have to expose them via `vars` as shown below:
```
```hcl
data "template_file" "init" {
# ...
@ -99,7 +99,7 @@ data "template_file" "init" {
Inline templates allow you to specify the template string inline without
loading a file. An example is shown below:
```
```hcl
data "template_file" "init" {
template = "$${consul_address}:1234"
@ -116,7 +116,7 @@ the template.
An example of mixing escaped and non-escaped interpolations in a template:
```
```hcl
variable "port" { default = 80 }
data "template_file" "init" {