code: def terminate_nodes(self, node_ids):
          
          for node_id in node_ids:
              logger.info("NodeProvider: "
                          "{}: Terminating node".format(node_id))
              self.terminate_node(node_id)
docs: Terminates a set of nodes. May be overridden with a batch method.