<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Install notebook dependency via terraform for serverless notebook tasks in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/install-notebook-dependency-via-terraform-for-serverless/m-p/104951#M41950</link>
    <description>&lt;P&gt;What about applying this through asset bundles? I have the environment definition deployed on a workflow as part of a bundle with multiple notebook tasks...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AndriusVitkausk_0-1736430176728.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/13981i5AC5E038567075FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AndriusVitkausk_0-1736430176728.png" alt="AndriusVitkausk_0-1736430176728.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However the dependancy isn't installed on the notebooks, unless i go into the notebook itself, apply the environment, only then do workflows execute as expected, that however raises issues for deployments?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jan 2025 13:44:05 GMT</pubDate>
    <dc:creator>AndriusVitkausk</dc:creator>
    <dc:date>2025-01-09T13:44:05Z</dc:date>
    <item>
      <title>Install notebook dependency via terraform for serverless notebook tasks</title>
      <link>https://community.databricks.com/t5/data-engineering/install-notebook-dependency-via-terraform-for-serverless/m-p/103062#M41324</link>
      <description>&lt;P&gt;I am trying to install a wheel file as a dependency for a serverless notebook task via terraform. According to&amp;nbsp;&lt;A href="https://docs.databricks.com/en/compute/serverless/dependencies.html" target="_blank"&gt;https://docs.databricks.com/en/compute/serverless/dependencies.html&lt;/A&gt;&amp;nbsp;, dependencies in serverless notebooks can be configured via the base environment or the notebook environment. I was taking look at the databricks_job resource in&amp;nbsp;&lt;A href="https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/job" target="_blank"&gt;https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/job&lt;/A&gt;&amp;nbsp;and found the environment configuration block. After taking a closer look at the API documentation&amp;nbsp; in&amp;nbsp;&amp;nbsp;&lt;A href="https://docs.databricks.com/api/workspace/jobs/create#environments" target="_blank"&gt;https://docs.databricks.com/api/workspace/jobs/create#environments&lt;/A&gt;&amp;nbsp;it seems that the environment configuration block is only available for non-notebooks tasks. What would be the best way to configure the base or notebook environment via terraform for serverless notebook tasks? Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2024 00:02:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/install-notebook-dependency-via-terraform-for-serverless/m-p/103062#M41324</guid>
      <dc:creator>rgomez</dc:creator>
      <dc:date>2024-12-24T00:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Install notebook dependency via terraform for serverless notebook tasks</title>
      <link>https://community.databricks.com/t5/data-engineering/install-notebook-dependency-via-terraform-for-serverless/m-p/103064#M41326</link>
      <description>&lt;P&gt;Currently, the &lt;CODE&gt;databricks_job&lt;/CODE&gt; resource in Terraform does not support configuring the environment for notebook tasks directly. You can upload&amp;nbsp;the YAML file and configure the environment as mentioned in&amp;nbsp;&lt;A href="https://docs.databricks.com/en/compute/serverless/dependencies.html#configure-a-base-environment" target="_blank"&gt;https://docs.databricks.com/en/compute/serverless/dependencies.html#configure-a-base-environment&lt;/A&gt;&amp;nbsp;via API or CLI and then you will need to set the notebook via the UI&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2024 02:28:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/install-notebook-dependency-via-terraform-for-serverless/m-p/103064#M41326</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2024-12-24T02:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Install notebook dependency via terraform for serverless notebook tasks</title>
      <link>https://community.databricks.com/t5/data-engineering/install-notebook-dependency-via-terraform-for-serverless/m-p/104951#M41950</link>
      <description>&lt;P&gt;What about applying this through asset bundles? I have the environment definition deployed on a workflow as part of a bundle with multiple notebook tasks...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AndriusVitkausk_0-1736430176728.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/13981i5AC5E038567075FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AndriusVitkausk_0-1736430176728.png" alt="AndriusVitkausk_0-1736430176728.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However the dependancy isn't installed on the notebooks, unless i go into the notebook itself, apply the environment, only then do workflows execute as expected, that however raises issues for deployments?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2025 13:44:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/install-notebook-dependency-via-terraform-for-serverless/m-p/104951#M41950</guid>
      <dc:creator>AndriusVitkausk</dc:creator>
      <dc:date>2025-01-09T13:44:05Z</dc:date>
    </item>
  </channel>
</rss>

