github.com/wikibal01/hashicorp-terraform@v0.11.12-beta1/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  }