github.com/jorgemarey/terraform@v0.6.7-0.20151113041428-536ba76b21bb/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 }