title: AWS EMR: Error parsing parameter: Expected: '=', received: 'EOF' for input:
body: <p>I'm trying to create a cluster from inside one of my <code>EC2 instances</code>. Typing the following command to start my cluster-</p>
  
  <pre><code>aws emr create-cluster --release-label emr-5.20.0 --instance-groups instance-groups.json --auto-terminate and so on...
  </code></pre>
  
  <p>I receive the following error-</p>
  
  <pre><code>Error parsing parameter '--instance-groups': Expected: '=', received: 'EOF' for input:
  instance-groups.json
                      ^
  </code></pre>
  
  <p>I already tried <code>--instance-groups=instance-groups.json</code>, but I get the same error message.</p>
  
  <p>What's wrong here?</p>