title: What is the correct syntax for running a bash script as a step in EMR?
body: <p>I am trying to run a bash script as a step after EMR completes bootstrapping. Following is my terraform code:</p>
  
  <pre><code>step { action_on_failure = "CONTINUE" 
  name = "Setup Hadoop configuration" 
  hadoop_jar_step { 
  jar = "command-runner.jar" 
  args = ["bash,-c,'cd /mnt; chmod +x ./userdata.sh; ./userdata.sh'"] 
  }}
  </code></pre>
  
  <p>This isn't working and keeps on failing mentioning that No file found.
  Are args correctly provided ? What about script-runner.jar?
  Any help is highly appreciated. :(</p>