github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/terraform/test-fixtures/refresh-vars/main.tf (about)

     1  resource "aws_instance" "web" {}
     2  
     3  resource "aws_instance" "db" {
     4    ami = "${aws_instance.web.id}"
     5  }