github.com/hugorut/terraform@v1.1.3/src/terraform/testdata/graph-builder-apply-module-destroy/main.tf (about)

     1  variable "input" {
     2    default = "value"
     3  }
     4  
     5  module "A" {
     6    source = "./A"
     7    input  = var.input
     8  }
     9  
    10  module "B" {
    11    source = "./A"
    12    input  = module.A.output
    13  }