<?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: Terraform provider, problemi in creating dependant task! in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/terraform-provider-problemi-in-creating-dependant-task/m-p/46515#M5917</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/74715"&gt;@6502&lt;/a&gt;&amp;nbsp;You need to make multiple depends_on blocks for each dependency, ex.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;depends_on {
   task_key = "ichi"
}
depends_on {
   task_key = "ni"
}&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 28 Sep 2023 05:37:11 GMT</pubDate>
    <dc:creator>daniel_sahal</dc:creator>
    <dc:date>2023-09-28T05:37:11Z</dc:date>
    <item>
      <title>Terraform provider, problemi in creating dependant task!</title>
      <link>https://community.databricks.com/t5/get-started-discussions/terraform-provider-problemi-in-creating-dependant-task/m-p/44117#M5914</link>
      <description>&lt;P&gt;Hola all.&lt;/P&gt;&lt;P&gt;I have a serious problem, perhaps I missed something, but can't find the solution.&amp;nbsp;&lt;BR /&gt;I need to push a job description to Databricks using TERRAFORM. I wrote the code, but there is no way to get a task dependant from two different tasks.&lt;/P&gt;&lt;P&gt;Consider the following code:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;task { &lt;BR /&gt;   task_key = "ichi"&lt;BR /&gt;   job_cluster = "C64"&lt;BR /&gt;   notebook_task { &lt;BR /&gt;      notebook_path = "REPO_NOTEBOOK"&lt;BR /&gt;      source = "GIT&lt;BR /&gt;   }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;task { &lt;BR /&gt;    task_key = "ni"&lt;BR /&gt;    job_cluster = "C64"&lt;BR /&gt;    notebook_task { &lt;BR /&gt;        notebook_path = "REPO_NOTEBOOK"&lt;BR /&gt;        source = "GIT&lt;BR /&gt;   }&lt;BR /&gt;}&lt;BR /&gt;task { &lt;BR /&gt;    task_key = "san"&lt;BR /&gt;    depends_on { &lt;BR /&gt;       task_key = "ichi" ... but how make this dependant also from the "ni" task? &lt;BR /&gt;    }&lt;BR /&gt;    job_cluster = "C64"&lt;BR /&gt;    notebook_task { &lt;BR /&gt;       notebook_path = "REPO_NOTEBOOK"&lt;BR /&gt;        source = "GIT&lt;BR /&gt;    }&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;I attempted to use:&lt;/P&gt;&lt;P&gt;task_key = "ichi,ni" -&amp;gt; does not work.&lt;BR /&gt;task_key = [ "ichi", "ni" ] -&amp;gt; still does not work&lt;/P&gt;&lt;P&gt;HELP!&lt;/P&gt;&lt;P&gt;The Website&amp;nbsp;&lt;A href="https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/job#depends_on" target="_blank" rel="noopener"&gt;databricks_job | Resources | databricks/databricks | Terraform | Terraform Registry&lt;/A&gt;&amp;nbsp; does not help. It seems that there is no way to make it dependent on more than one task!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 17:31:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/terraform-provider-problemi-in-creating-dependant-task/m-p/44117#M5914</guid>
      <dc:creator>6502</dc:creator>
      <dc:date>2023-09-08T17:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Terraform provider, problemi in creating dependant task!</title>
      <link>https://community.databricks.com/t5/get-started-discussions/terraform-provider-problemi-in-creating-dependant-task/m-p/46378#M5916</link>
      <description>&lt;P&gt;Hola.&amp;nbsp;&lt;BR /&gt;I'm answering because a solution has been found.&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;depends_on&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;{&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;task_key&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt; = &lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;"ichi"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp;}&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;depends_on&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;{&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;task_key&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt; = &lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;"ni"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp;}&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;Adding two "&lt;SPAN class=""&gt;&lt;STRONG&gt;depends_on&lt;/STRONG&gt;&lt;/SPAN&gt;" solved the problem. I came up with this solution using the experimental exporter :&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;A href="https://registry.terraform.io/providers/databricks/databricks/latest/docs/guides/experimental-exporter" target="_blank" rel="noopener"&gt;https://registry.terraform.io/providers/databricks/databricks/latest/docs/guides/experimental-exporter&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 13:18:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/terraform-provider-problemi-in-creating-dependant-task/m-p/46378#M5916</guid>
      <dc:creator>6502</dc:creator>
      <dc:date>2023-09-27T13:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Terraform provider, problemi in creating dependant task!</title>
      <link>https://community.databricks.com/t5/get-started-discussions/terraform-provider-problemi-in-creating-dependant-task/m-p/46515#M5917</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/74715"&gt;@6502&lt;/a&gt;&amp;nbsp;You need to make multiple depends_on blocks for each dependency, ex.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;depends_on {
   task_key = "ichi"
}
depends_on {
   task_key = "ni"
}&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 28 Sep 2023 05:37:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/terraform-provider-problemi-in-creating-dependant-task/m-p/46515#M5917</guid>
      <dc:creator>daniel_sahal</dc:creator>
      <dc:date>2023-09-28T05:37:11Z</dc:date>
    </item>
  </channel>
</rss>

