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