github.com/paybyphone/terraform@v0.9.5-0.20170613192930-9706042ddd51/terraform/test-fixtures/plan-provisioner-cycle/main.tf (about) 1 resource "aws_instance" "foo" { 2 count = 3 3 4 provisioner "local-exec" { 5 command = "echo ${aws_instance.foo.0.id} ${aws_instance.foo.1.id} ${aws_instance.foo.2.id}" 6 } 7 }