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)
def terminate_instances(self): instances = ec2_backend.terminate_instances(self.instance_ids) template = Template(EC2_TERMINATE_INSTANCES) return template.render(instances=instances)