title: Running a .config file on Elastic Beanstalk?
body: <p>I'm trying to run a custom .config file on my elastic beanstalk. I'm following the directions on <a href="http://www.tonmoygoswami.com/2013/05/how-to-enable-gzip-on-amazon-elastic.html" rel="noreferrer">this link</a>. I've created a file called <code>myapp.config</code>, and put the following in it:</p>
  
  <pre><code>container_commands:
          01_setup_apache:
          command: "cp .ebextensions/enable_mod_deflate.conf /etc/httpd/conf.d/enable_mod_deflate.conf"
  </code></pre>
  
  <p>When I run this, I get the following error:</p>
  
  <blockquote>
    <p>"commands" in configuration file .ebextensions/myapp.config in application version myapp-0.0.33-SNAPSHOT must be a map. Update "commands" in the configuration file.</p>
  </blockquote>
  
  <p>This error is really cryptic. What am I doing wrong?</p>
  
  <p>My container is apache tomcat 7.</p>