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