title: Kedro template configuration does not load/parse variables
body: <p>A follow up to <a href="https://stackoverflow.com/questions/73081209/kedro-template-configuration-does-not-load-globals-yml-configuration-into-catalo">this</a> question. I am using Kedro  v0.18.2. I am trying use the <code>TemplateConfig</code> so I have created a <code>globals.yml</code> under <code>conf/base</code>, which looks like this:</p>
  <pre><code>paths:
      base_path: s3://my_project
  
  datasets:
      pdf: base.PDFDataSet
      png: pillow.ImageDataSet
      csv: pandas.CSVDataSet
      excel: pandas.ExcelDataSet
  
  data_folders:
      raw: 01_raw
      intermediate: 02_intermediate
      primary: 03_primary
      feature: 04_feature
      model_input: 05_model_input
      models: 06_models
      model_output: 07_model_output
      reporting: 08_reporting
  </code></pre>
  <p>I have followed the documentation and I have uncommented some of the <code>settings.py</code> as such:</p>
  <pre><code>&quot;&quot;&quot;Project settings. There is no need to edit this file unless you want to change values
  from the Kedro defaults. For further information, including these default values, see
  https://kedro.readthedocs.io/en/stable/kedro_project_setup/settings.html.&quot;&quot;&quot;
  
  # Instantiated project hooks.
  # from certifai.hooks import ProjectHooks
  # HOOKS = (ProjectHooks(),)
  
  # Installed plugins for which to disable hook auto-registration.
  # DISABLE_HOOKS_FOR_PLUGINS = (&quot;kedro-viz&quot;,)
  
  # Class that manages storing KedroSession data.
  # from kedro.framework.session.store import ShelveStore
  # SESSION_STORE_CLASS = ShelveStore
  # Keyword arguments to pass to the `SESSION_STORE_CLASS` constructor.
  # SESSION_STORE_ARGS = {
  #     &quot;path&quot;: &quot;./sessions&quot;
  # }
  
  # Class that manages Kedro's library components.
  # from kedro.framework.context import KedroContext
  # CONTEXT_CLASS = KedroContext
  
  # Directory that holds configuration.
  # CONF_SOURCE = &quot;conf&quot;
  
  # Class that manages how configuration is loaded.
  from kedro.config import TemplatedConfigLoader
  CONFIG_LOADER_CLASS = TemplatedConfigLoader
  CONFIG_LOADER_ARGS = {
      &quot;globals_pattern&quot;: &quot;*globals.yml&quot;,
  }
  
  # Class that manages the Data Catalog.
  # from kedro.io import DataCatalog
  # DATA_CATALOG_CLASS = DataCatalog
  
  </code></pre>
  <p><code>catalog.yml</code> looks like this:</p>
  <pre><code>_label_images: &amp;label_images
    type: PartitionedDataSet
    path: ${paths.base_path}/data/${data_folders.raw}/label_images
    dataset: ${datasets.png}
  
  label_images_png:
    &lt;&lt;: *label_images
    filename_suffix: .png
  
  label_images_jpg:
    &lt;&lt;: *label_images
    filename_suffix: .jpg
  
  label_images_jpeg:
    &lt;&lt;: *label_images
    filename_suffix: .jpeg
  
  label_images_pdf:
    &lt;&lt;: *label_images
    dataset: base.PDFDataSet
    filename_suffix: .pdf
  
  my_project_label_extracts:
    type: PartitionedDataSet
    path: s3://my_project/data/01_raw/label_extracts
    dataset: pandas.ExcelDataSet
  </code></pre>
  <p>My testing script looks like this:</p>
  <pre><code>from kedro.config import ConfigLoader
  from kedro.framework.project import settings
  from pathlib import Path
  from kedro.extras.datasets import pillow
  
  project_path = Path(__file__).parent.parent.parent
  
  conf_path = str(project_path / settings.CONF_SOURCE)
  conf_loader = ConfigLoader(conf_source=conf_path, env=&quot;base&quot;)
  conf_catalog = conf_loader.get(&quot;catalog*&quot;, &quot;catalog*/**&quot;)
  
  images_dataset = pillow.ImageDataSet.from_config(&quot;label_images_png&quot;, conf_catalog[&quot;label_images_png&quot;])
  images_loader = images_dataset.load()
  images_loader[&quot;00337180800086&quot;]().show()
  </code></pre>
  <p>With hard-coded values inside the <code>catalog.yml</code>, the script runs and outputs an image, However, with the template config it does not work. Am I missing something?</p>
  <p>P.S. Apologies if the question is duplicated.</p>