website: Change local-exec example

This commit is contained in:
Armon Dadgar 2014-07-27 15:41:08 -04:00
parent a4f7401458
commit 10383cfc67
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ to run commands on the resource.
resource "aws_instance" "web" { resource "aws_instance" "web" {
... ...
provisioner "local-exec" { provisioner "local-exec" {
command = "consul join ${aws_instance.web.private_ip}" command = "cat ${aws_instance.web.private_ip} >> private_ips.txt"
} }
} }
``` ```