github.com/hugorut/terraform@v1.1.3/src/terraform/testdata/plan-module-variable-from-splat/main.tf (about)

     1  module "mod1" {
     2    source = "./mod"
     3    param  = ["this", "one", "works"]
     4  }
     5  
     6  module "mod2" {
     7    source = "./mod"
     8    param  = [module.mod1.out_from_splat[0]]
     9  }