github.com/jrasell/terraform@v0.6.17-0.20160523115548-2652f5232949/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 }