github.com/LorbusChris/terraform@v0.11.12-beta1/terraform/test-fixtures/input-module-data-vars/main.tf (about)

     1  data "null_data_source" "bar" {
     2    foo = ["a", "b"]
     3  }
     4  
     5  module "child" {
     6    source = "./child"
     7    in = "${data.null_data_source.bar.foo[1]}"
     8  }