title: Exclude directories from elastic beanstalk deploy
body: <p>I have some directories that I would like to be in my local git repository, but NOT in the remote repository when I deploy to my beanstalk environment.</p>
  
  <p>I have googled a bit, and found a few years old posts like this:</p>
  
  <p><a href="http://blog.beanstalkapp.com/post/38164899272/patterns-for-excluded-deployment-paths" rel="noreferrer">http://blog.beanstalkapp.com/post/38164899272/patterns-for-excluded-deployment-paths</a></p>
  
  <p>that explain that there is this option somewhere, but I have looked everywhere and cannot find it. I think it must still be there and possibly it's been moved around?</p>
  
  <p>If that helps (though it probably doesn't make any difference), I've got an environment based on the sample node.js application. Where is this option?</p>
  
  <p>Is it possible to do it in a config file in the .ebextensions folder instead?</p>