<?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 asset bundles error &amp;quot;failed to instantiate provider&amp;quot; in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-error-quot-failed-to-instantiate/m-p/61746#M31837</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm trying to deploy with databricks asset bundles. When running bundle deploy, the process fails with following error message:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;failed execution pid=25092 exit_code=1 error="terraform apply: exit status 1\n\nError: failed to read schema for databricks_job.r005_job in registry.terraform.io/databricks/databricks: failed to instantiate provider \"registry.terraform.io/databricks/databricks\" to obtain schema: Unrecognized remote plugin message: \n\nThis usually means that the plugin is either invalid or simply\nneeds to be recompiled to support the latest protocol.\n\n\nopen [...]\\terraform.tfstate: Das System kann die angegebene Datei nicht finden&lt;/LI-CODE&gt;&lt;P&gt;CLI-Version:&amp;nbsp;Databricks CLI v0.214.1&lt;/P&gt;&lt;P&gt;The ressource I'm trying to deploy is a simple example generated with bundle init:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# The main job for r005.
resources:
  jobs:
    r005_job:
      name: r005_job

      schedule:
        # Run every day at 8:37 AM
        quartz_cron_expression: '44 37 8 * * ?'
        timezone_id: Europe/Amsterdam

      tasks:
        - task_key: notebook_task
          job_cluster_key: job_cluster
          notebook_task:
            notebook_path: ../src/notebook.ipynb
        
      job_clusters:
        - job_cluster_key: job_cluster
          new_cluster:
            spark_version: 13.3.x-scala2.12
            node_type_id: Standard_D3_v2
            autoscale:
                min_workers: 1
                max_workers: 4&lt;/LI-CODE&gt;&lt;P&gt;For my colleagues with the same setup, the deployment works perfectly. The deployment also works, when I deploy with a Azure DevOps deployment agent.&lt;/P&gt;&lt;P&gt;in the .databricks/bundle/dev... folder I can find a file "terraform-provider-databricks_v1.37.0.exe".&lt;/P&gt;&lt;P&gt;The bundle.tf.json file starts with:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "terraform": {
    "required_providers": {
      "databricks": {
        "source": "databricks/databricks",
        "version": "1.37.0"
      }
    }
  },
  "provider": {
    "databricks": {}
  },
...&lt;/LI-CODE&gt;&lt;P&gt;Does anyone have an idea, how I can get this to work?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Feb 2024 17:16:00 GMT</pubDate>
    <dc:creator>dbph</dc:creator>
    <dc:date>2024-02-23T17:16:00Z</dc:date>
    <item>
      <title>Databricks asset bundles error "failed to instantiate provider"</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-error-quot-failed-to-instantiate/m-p/61746#M31837</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm trying to deploy with databricks asset bundles. When running bundle deploy, the process fails with following error message:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;failed execution pid=25092 exit_code=1 error="terraform apply: exit status 1\n\nError: failed to read schema for databricks_job.r005_job in registry.terraform.io/databricks/databricks: failed to instantiate provider \"registry.terraform.io/databricks/databricks\" to obtain schema: Unrecognized remote plugin message: \n\nThis usually means that the plugin is either invalid or simply\nneeds to be recompiled to support the latest protocol.\n\n\nopen [...]\\terraform.tfstate: Das System kann die angegebene Datei nicht finden&lt;/LI-CODE&gt;&lt;P&gt;CLI-Version:&amp;nbsp;Databricks CLI v0.214.1&lt;/P&gt;&lt;P&gt;The ressource I'm trying to deploy is a simple example generated with bundle init:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# The main job for r005.
resources:
  jobs:
    r005_job:
      name: r005_job

      schedule:
        # Run every day at 8:37 AM
        quartz_cron_expression: '44 37 8 * * ?'
        timezone_id: Europe/Amsterdam

      tasks:
        - task_key: notebook_task
          job_cluster_key: job_cluster
          notebook_task:
            notebook_path: ../src/notebook.ipynb
        
      job_clusters:
        - job_cluster_key: job_cluster
          new_cluster:
            spark_version: 13.3.x-scala2.12
            node_type_id: Standard_D3_v2
            autoscale:
                min_workers: 1
                max_workers: 4&lt;/LI-CODE&gt;&lt;P&gt;For my colleagues with the same setup, the deployment works perfectly. The deployment also works, when I deploy with a Azure DevOps deployment agent.&lt;/P&gt;&lt;P&gt;in the .databricks/bundle/dev... folder I can find a file "terraform-provider-databricks_v1.37.0.exe".&lt;/P&gt;&lt;P&gt;The bundle.tf.json file starts with:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "terraform": {
    "required_providers": {
      "databricks": {
        "source": "databricks/databricks",
        "version": "1.37.0"
      }
    }
  },
  "provider": {
    "databricks": {}
  },
...&lt;/LI-CODE&gt;&lt;P&gt;Does anyone have an idea, how I can get this to work?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 17:16:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-error-quot-failed-to-instantiate/m-p/61746#M31837</guid>
      <dc:creator>dbph</dc:creator>
      <dc:date>2024-02-23T17:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks asset bundles error "failed to instantiate provider"</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-error-quot-failed-to-instantiate/m-p/75520#M34976</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;sorry for my late answer and thank you for your help. I was on parental leave in the meantime.&lt;/P&gt;&lt;P&gt;I solved the problem by installing the latest Databricks extension. With the new extension and updated Databricks-CLI I got the same error.&lt;/P&gt;&lt;P&gt;However: The latest Databricks extension has a "Refreh remote state" button in the bundle ressource explorer and voilà: Deployment works, no more errors &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jun 2024 20:22:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-error-quot-failed-to-instantiate/m-p/75520#M34976</guid>
      <dc:creator>dbph</dc:creator>
      <dc:date>2024-06-23T20:22:55Z</dc:date>
    </item>
  </channel>
</rss>

