title: Dataflow job unable to write to BigQuery dataset in different region even if zone is set to the region of bigquery dataset
body: <p>We are writing a Dataflow job to write data from <code>JSON</code> in storage bucket to BigQuery dataset. Both storage bucket and BigQuery dataset are in region <code>X</code>. However, dataflow endpoint is not available in region <code>X</code>. The nearest region is <code>Y</code>. So, I have set Dataflow job region as <code>Y</code>, but zone as <code>X</code>. So, all the compute instances are getting spun up in region <code>X</code>. However, still Dataflow job fails with the error: </p>
  
  <blockquote>
    <p>Cannot read and write in different locations: source: Y, destination: X</p>
  </blockquote>
  
  <p>Both temp location and staging location storage buckets are set to region x.</p>
  
  <p>The beam version used is <code>2.17</code> and SDK is <code>Python SDK</code>.</p>
  
  <p>We are creating a dataflow-template and running it (DataflowRunner). The template is also in region <code>X</code>.</p>