github.com/mehmetalisavas/terraform@v0.7.10/terraform/test-fixtures/input-module-computed-output-element/main.tf (about)

     1  module "b" {
     2    source = "./modb"
     3  }
     4  
     5  module "a" {
     6    source = "./moda"
     7  
     8    single_element = "${element(module.b.computed_list, 0)}"
     9  }