github.com/heimweh/terraform@v0.7.4/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 }