title: DataFlow gcloud CLI - "Template metadata was too large"
body: <p>I've honed my transformations in DataPrep, and am now trying to run the DataFlow job directly using gcloud CLI.</p>
  
  <p>I've exported my template and template metadata file, and am trying to run them using <code>gcloud dataflow jobs run</code> and passing in the input &amp; output locations as parameters.</p>
  
  <p>I'm getting the error:</p>
  
  <pre><code>Template metadata regex '[ \t\n\x0B\f\r]*\{[ \t\n\x0B\f\r]*((.|\r|\n)*".*"[ \t\n\x0B\f\r]*:[ \t\n\x0B\f\r]*".*"(.|\r|\n)*){17}[ \t\n\x0B\f\r]*\}[ \t\n\x0B\f\r]*' was too large. Max size is 1000 but was 1187.
  </code></pre>
  
  <p>I've not specified this at the command line, so I know it's getting it from the metadata file - which is straight from DataPrep, unedited by me.</p>
  
  <p>I have 17 input locations - one containing source data, all the others are lookups. There is a regex for each one, plus one extra.</p>
  
  <p>If it's running when prompted by DataPrep, but won't run via CLI, am I missing something?</p>