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}"