github.com/ndarilek/terraform@v0.3.8-0.20150320140257-d3135c1b2bac/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  }