github.com/shvar/terraform@v0.6.9-0.20151215234924-3365cd2231df/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 }