Skip to content

Commit f0292d4

Browse files
mvermaesjen20
authored andcommitted
Update template example for new syntax
1 parent 047027a commit f0292d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

website/source/docs/providers/template/index.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Use the navigation to the left to read about the available resources.
2525
```
2626
# Template for initial configuration bash script
2727
resource "template_file" "init" {
28-
filename = "init.tpl"
28+
template = "${file("init.tpl")}"
2929
3030
vars {
3131
consul_address = "${aws_instance.consul.private_ip}"

0 commit comments

Comments
 (0)