title: Outputting null_data_source output as plain maps instead of array of maps in terraform
body: <pre><code>Terraform v0.11.11
  + provider.null v2.0.0
  
      
  variable &quot;vpc1&quot; {
    type = &quot;list&quot;
  
    default = [
      &quot;name1:ip1:az1:dedicated&quot;,
      &quot;name2:ip2:az2:dedicated&quot;,
    ]
  }
  
  variable vpc2 {
    type = &quot;list&quot;
  
    default = [
      &quot;foo:10.1:east:yes&quot;,
      &quot;bar:10.2:west:no&quot;,
    ]
  }
  
  data &quot;null_data_source&quot; &quot;values&quot; {
    count = &quot;${length(var.vpc1)}&quot;
  
    inputs = &quot;${
            map (
  
                  &quot;${element(split(&quot;:&quot;,var.vpc1[count.index]),0)}&quot;,
                 &quot;${element(split(&quot;:&quot;, var.vpc2[count.index]),0)}&quot;
                )
          }&quot;
  }
  
  output &quot;mappings&quot; {
    value = &quot;${data.null_data_source.values.*.outputs}&quot;
  }
  </code></pre>
  <p>How to get the desired output , What am i missing</p>