Example #1
0
 def create_tags(self):
     for resource_id, tag in self.resource_ids.iteritems():
         ec2_backend.create_tag(resource_id, tag[0], tag[1])
     return CREATE_RESPONSE
Example #2
0
 def create_tags(self):
     resource_ids = resource_ids_from_querystring(self.querystring)
     for resource_id, tag in resource_ids.iteritems():
         ec2_backend.create_tag(resource_id, tag[0], tag[1])
     return CREATE_RESPONSE
Example #3
0
File: tags.py Project: ghalib/moto
 def create_tags(self):
     resource_ids = resource_ids_from_querystring(self.querystring)
     for resource_id, tag in resource_ids.iteritems():
         ec2_backend.create_tag(resource_id, tag[0], tag[1])
     return CREATE_RESPONSE