github.com/LorbusChris/terraform@v0.11.12-beta1/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  }