github.com/jaredpalmer/terraform@v1.1.0-alpha20210908.0.20210911170307-88705c943a03/internal/terraform/testdata/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  }