docs: fix template_file syntax error
This commit is contained in:
parent
b21438f700
commit
f23a4994ae
|
@ -14,7 +14,7 @@ Renders a template from a file.
|
|||
|
||||
```
|
||||
resource "template_file" "init" {
|
||||
template = "${file(${path.module}/init.tpl)}"
|
||||
template = "${file("${path.module}/init.tpl")}"
|
||||
|
||||
vars {
|
||||
consul_address = "${aws_instance.consul.private_ip}"
|
||||
|
|
Loading…
Reference in New Issue