github.com/hashicorp/terraform-plugin-sdk@v1.17.2/terraform/testdata/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 }