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

     1  module "a" {
     2      source = "./child"
     3      in = "${aws_instance.b.id}"
     4  }
     5  
     6  resource "aws_instance" "b" {}
     7  
     8  resource "aws_instance" "c" {
     9      some_input = "${module.a.out}"
    10  
    11      depends_on = ["aws_instance.b"]
    12  }