github.com/hashicorp/terraform-plugin-sdk@v1.17.2/terraform/testdata/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 }