github.com/mehmetalisavas/terraform@v0.7.10/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  }