github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/terraform/test-fixtures/new-graph-cycle/main.tf (about) 1 resource "aws_instance" "foo" { 2 ami = "${aws_instance.bar.id}" 3 } 4 5 resource "aws_instance" "bar" { 6 ami = "${aws_instance.foo.id}" 7 }