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