github.com/rstandt/terraform@v0.12.32-0.20230710220336-b1063613405c/terraform/testdata/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  }