github.com/bigkraig/terraform@v0.6.4-0.20151219155159-c90d1b074e31/terraform/test-fixtures/apply-provisioner-multi-self-ref/main.tf (about)

     1  resource "aws_instance" "foo" {
     2      count = 3
     3      foo = "number ${count.index}"
     4  
     5      provisioner "shell" {
     6          command = "${self.foo}"
     7      }
     8  }