<?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 Databricks Bundle Deployment Question in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/databricks-bundle-deployment-question/m-p/119238#M10032</link>
    <description>&lt;P&gt;Hello, everyone! I’ve been working on deploying Databricks bundles using Terraform, and I’ve encountered an issue. During the deployment, the Terraform state file seems to reference resources tied to another user, which causes permission errors.&lt;/P&gt;&lt;P&gt;I’ve checked all my project files, including deployment.yml, and there are no visible references to the other user. I’ve also tried cleaning up the local terraform.tfstate file and .databricks folder, but the issue persists.&lt;/P&gt;&lt;P&gt;Is this a common problem when using Terraform for Databricks deployments? Could it be related to some hidden cache or residual state?&lt;/P&gt;&lt;P&gt;does not have Admin or Manage Run or Owner or View permissions on job 22955771686345&lt;/P&gt;&lt;P&gt;with databricks_job.RunBatch,&lt;BR /&gt;on bundle.tf.json line 234, in resource.databricks_job.RunBatch:&lt;BR /&gt;234: },&lt;/P&gt;&lt;P&gt;Any insights or suggestions would be greatly appreciated. Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 14 May 2025 16:24:09 GMT</pubDate>
    <dc:creator>leandro09</dc:creator>
    <dc:date>2025-05-14T16:24:09Z</dc:date>
    <item>
      <title>Databricks Bundle Deployment Question</title>
      <link>https://community.databricks.com/t5/get-started-discussions/databricks-bundle-deployment-question/m-p/119238#M10032</link>
      <description>&lt;P&gt;Hello, everyone! I’ve been working on deploying Databricks bundles using Terraform, and I’ve encountered an issue. During the deployment, the Terraform state file seems to reference resources tied to another user, which causes permission errors.&lt;/P&gt;&lt;P&gt;I’ve checked all my project files, including deployment.yml, and there are no visible references to the other user. I’ve also tried cleaning up the local terraform.tfstate file and .databricks folder, but the issue persists.&lt;/P&gt;&lt;P&gt;Is this a common problem when using Terraform for Databricks deployments? Could it be related to some hidden cache or residual state?&lt;/P&gt;&lt;P&gt;does not have Admin or Manage Run or Owner or View permissions on job 22955771686345&lt;/P&gt;&lt;P&gt;with databricks_job.RunBatch,&lt;BR /&gt;on bundle.tf.json line 234, in resource.databricks_job.RunBatch:&lt;BR /&gt;234: },&lt;/P&gt;&lt;P&gt;Any insights or suggestions would be greatly appreciated. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 16:24:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/databricks-bundle-deployment-question/m-p/119238#M10032</guid>
      <dc:creator>leandro09</dc:creator>
      <dc:date>2025-05-14T16:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Bundle Deployment Question</title>
      <link>https://community.databricks.com/t5/get-started-discussions/databricks-bundle-deployment-question/m-p/119534#M10046</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/150934"&gt;@leandro09&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;My opinion this kind of error is often related to &lt;SPAN class=""&gt;&lt;STRONG&gt;Terraform state still tracking a resource that was created or managed by another user&lt;/STRONG&gt;&lt;/SPAN&gt;, and your current user doesn’t have permissions to update or read it.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;terraform state list&lt;/LI-CODE&gt;&lt;P class=""&gt;This will show you all &lt;STRONG&gt;resources currently tracked by Terraform&lt;/STRONG&gt;. If you see something like &lt;SPAN class=""&gt;databricks_job.RunBatch&lt;/SPAN&gt;, it’s likely still being managed, even if it’s not present in your &lt;SPAN class=""&gt;.tf&lt;/SPAN&gt; files.&lt;BR /&gt;&lt;BR /&gt;Also you could p&lt;STRONG&gt;ull and inspect the full state file:&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;terraform state pull &amp;gt; log.json&lt;/LI-CODE&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;BR /&gt;If you confirm that the job is in the state but shouldn’t be, you can remove it with:&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#Example
terraform state rm databricks_job.RunBatch&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Hope this helps, &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Isi&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 May 2025 18:57:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/databricks-bundle-deployment-question/m-p/119534#M10046</guid>
      <dc:creator>Isi</dc:creator>
      <dc:date>2025-05-17T18:57:15Z</dc:date>
    </item>
  </channel>
</rss>

