diff --git a/website/source/docs/provisioners/local-exec.html.markdown b/website/source/docs/provisioners/local-exec.html.markdown index 0311a9c3c..cba34c526 100644 --- a/website/source/docs/provisioners/local-exec.html.markdown +++ b/website/source/docs/provisioners/local-exec.html.markdown @@ -18,7 +18,7 @@ to run commands on the resource. resource "aws_instance" "web" { ... provisioner "local-exec" { - command = "cat ${aws_instance.web.private_ip} >> private_ips.txt" + command = "echo ${aws_instance.web.private_ip} >> private_ips.txt" } } ```