github.com/recobe182/terraform@v0.8.5-0.20170117231232-49ab22a935b7/config/test-fixtures/validate-resource-prov-self/main.tf (about)

     1  resource "aws_instance" "foo" {
     2      foo = "bar"
     3  
     4      connection {
     5          host = "${self.foo}"
     6      }
     7  
     8      provisioner "shell" {
     9          value = "${self.foo}"
    10      }
    11  }