github.com/wangzhucn/terraform@v0.6.7-0.20151109233120-4eea011b56b3/command/test-fixtures/apply-shutdown/main.tf (about)

     1  resource "test_instance" "foo" {
     2      ami = "bar"
     3  }
     4  
     5  resource "test_instance" "bar" {
     6      ami = "${test_instance.foo.ami}"
     7  }