code: def make_remote_version_aware(
      tmp_dir, dvc, make_cloud_version_aware
  ):  # noqa: ARG001
      def _make_remote(name, typ="local", **kwargs):
          cloud = make_cloud_version_aware(typ)
          config = dict(cloud.config)
          config["version_aware"] = True
          tmp_dir.add_remote(name=name, config=config, **kwargs)
          return cloud
  
      return _make_remote
  
imports: import os
  import pathlib
  import subprocess
  from typing import Dict, Tuple
  import pytest
  from .scripts import copy_script
label_desc: Use image node_id 11 for calling a global function with example usage: make_remote_version_aware(tmp_dir, dvc, make_cloud_version_aware) and returns: _make_remote, cloud