title: How do I flush the cache in Elastic Beanstalk?
body: <p>I'm using the command line to create an environment using the following command:</p>
  
  <pre><code>eb create staging -i t2.small
  </code></pre>
  
  <p>I then get the following error message:</p>
  
  <pre><code>2018-07-31 20:13:16    ERROR   Each option setting in configuration file .ebextensions/options.config in application version app-c8f2-180731_201302 must be a map. Update each option setting in the configuration file.
  </code></pre>
  
  <p>When I delete the options.config and run the command again, I get exactly the same error. More fully:</p>
  
  <pre><code>2018-07-31 20:17:04    INFO    createEnvironment is starting.
  2018-07-31 20:17:05    INFO    Using elasticbeanstalk-us-east-1-413395812799 as Amazon S3 storage bucket for environment data.
  2018-07-31 20:17:06    ERROR   Each option setting in configuration file .ebextensions/options.config in application version app-c8f2-180731_201651 must be a map. Update each option setting in the configuration file.
  2018-07-31 20:17:07    ERROR   Failed to launch environment.
  
  ERROR: ServiceError - Failed to launch environment.
  </code></pre>
  
  <p>It therefore seems that Elastic Beanstalk is caching an old version of the program.</p>
  
  <p>If so, how do I flush the cache?</p>
  
  <p>If not, why do I still get the error even after I delete the file?</p>