title: Terraform - data depends-on data
body: <p>I am using data external and data local_file in my terraform code. 
  data external executes a script and create a json file. Now my data local_file has to read the json file.</p>
  
  <pre><code>data "external" "example" {
     program = ["python", "XXXXX.py", "${var.fileName}"]
  }
  
  data "local_file" "dashboard" {
      filename = "${path.module}/dashboardData.json"
  }
  </code></pre>
  
  <p>Here data local_file is dependent on data external for the json file.</p>
  
  <p>Is there a work aroud ?</p>