title: AWS Elastic Beanstalk Environment Variables in Python
body: <p>Recently I have been trying to deploy a django webapp to AWS Elastic Beanstalk and everything has been going fine. However part of my app uses that Twitter API so I need to import my API keys. My understanding is that I should use Configuration > Software Configurations > Environment Properties. I set this up inputting my keys but when I checked the site it still failed.</p>
  
  <p>I have been using this to try and import the variables is that correct?</p>
  
  <pre><code>import os
  
  os.enviorn.get('TWITTER_ACCESS_TOKEN')
  </code></pre>
  
  <p>I checked to see if the variables were making it to the server and when I ran <code>eb printenv</code> I was shown this:</p>
  
  <pre><code> Environment Variables:
       TWITTER_ACCESS_TOKEN = XXXXX
       TWITTER_ACCESS_SECRET = XXXX
       TWITTER_CONSUMER_SECRET = XXXX
       TWITTER_CONSUMER_KEY = XXXXX
  </code></pre>
  
  <p>Any help would be greatly appreciated.</p>