title: Obtaining tags from AWS instances with boto
body: <p>I'm trying to obtain tags from instances in my AWS account using Python's boto library.</p>
  
  <p>While this snippet works correctly bringing all tags:</p>
  
  <pre><code>    tags = e.get_all_tags()
      for tag in tags:
          print tag.name, tag.value
  </code></pre>
  
  <p>(e is an EC2 connection)</p>
  
  <p>When I request tags from individual instances,</p>
  
  <pre><code>    print vm.__dict__['tags']
  </code></pre>
  
  <p>or</p>
  
  <pre><code>    print vm.tags
  </code></pre>
  
  <p>I'm getting an empty list (vm is actually an instance class).</p>
  
  <p>The following code:</p>
  
  <pre><code>    vm.__dict__['tags']['Name']
  </code></pre>
  
  <p>of course results in: </p>
  
  <pre><code>KeyError: 'Name'
  </code></pre>
  
  <p>My code was working until yesterday and suddenly I'm not able to get the tags from an instance.</p>
  
  <p>Does anybody know whether there is a problem with AWS API?</p>