Example #1
0
 def delete_tags(self):
     for resource_id, tag in self.resource_ids.iteritems():
         ec2_backend.delete_tag(resource_id, tag[0])
     template = Template(DELETE_RESPONSE)
     return template.render(reservations=ec2_backend.all_reservations())
Example #2
0
 def delete_tags(self):
     resource_ids = resource_ids_from_querystring(self.querystring)
     for resource_id, tag in resource_ids.iteritems():
         ec2_backend.delete_tag(resource_id, tag[0])
     template = Template(DELETE_RESPONSE)
     return template.render(reservations=ec2_backend.all_reservations())
Example #3
0
File: tags.py Project: ghalib/moto
 def delete_tags(self):
     resource_ids = resource_ids_from_querystring(self.querystring)
     for resource_id, tag in resource_ids.iteritems():
         ec2_backend.delete_tag(resource_id, tag[0])
     template = Template(DELETE_RESPONSE)
     return template.render(reservations=ec2_backend.all_reservations())