From f0292d420fcb653ca18d60aa1513f577f29d1593 Mon Sep 17 00:00:00 2001 From: Michael Vermaes Date: Tue, 24 Nov 2015 13:32:04 +0800 Subject: [PATCH] Update template example for new syntax --- website/source/docs/providers/template/index.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/docs/providers/template/index.html.markdown b/website/source/docs/providers/template/index.html.markdown index 3d6bc78ee..3d180e42f 100644 --- a/website/source/docs/providers/template/index.html.markdown +++ b/website/source/docs/providers/template/index.html.markdown @@ -25,7 +25,7 @@ Use the navigation to the left to read about the available resources. ``` # Template for initial configuration bash script resource "template_file" "init" { - filename = "init.tpl" + template = "${file("init.tpl")}" vars { consul_address = "${aws_instance.consul.private_ip}"