예제 #1
0
 def terminate_instances(self):
     instance_ids = instance_ids_from_querystring(self.querystring)
     instances = ec2_backend.terminate_instances(instance_ids)
     template = Template(EC2_TERMINATE_INSTANCES)
     return template.render(instances=instances)
예제 #2
0
파일: instances.py 프로젝트: flozano/moto
 def terminate_instances(self):
     instance_ids = instance_ids_from_querystring(self.querystring)
     instances = ec2_backend.terminate_instances(instance_ids)
     template = Template(EC2_TERMINATE_INSTANCES)
     return template.render(instances=instances)
예제 #3
0
 def terminate_instances(self):
     instances = ec2_backend.terminate_instances(self.instance_ids)
     template = Template(EC2_TERMINATE_INSTANCES)
     return template.render(instances=instances)