<?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: Unable to create Databricks SQL Endpoint using Terraform Clusters failing to launch in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/unable-to-create-databricks-sql-endpoint-using-terraform/m-p/124816#M2155</link>
    <description>&lt;P&gt;Thank you for the quick response. However, even after adding the timeout attribute, the issue persists&lt;/P&gt;&lt;P&gt;----------------------------&lt;/P&gt;&lt;DIV class=""&gt;Failing to start&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Clusters are failing to launch. Cluster launch will be retried.&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;P&gt;Request to create a cluster failed with an exception: INTERNAL_ERROR: Unexpected error occurred when trying to create cluster.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 10 Jul 2025 15:57:10 GMT</pubDate>
    <dc:creator>Olfa_Kamli</dc:creator>
    <dc:date>2025-07-10T15:57:10Z</dc:date>
    <item>
      <title>Unable to create Databricks SQL Endpoint using Terraform Clusters failing to launch</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/unable-to-create-databricks-sql-endpoint-using-terraform/m-p/124740#M2150</link>
      <description>&lt;P&gt;Hi All&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to create a Databricks SQL Endpoint using Terraform with the following resource configuration:&lt;/P&gt;&lt;PRE&gt;resource "databricks_sql_endpoint" "dataproduct_sql_endpoint" {
  provider                  &lt;SPAN class=""&gt;=&lt;/SPAN&gt; databricks.workspace
  name                      &lt;SPAN class=""&gt;=&lt;/SPAN&gt; local.sql_name
  cluster_size              &lt;SPAN class=""&gt;=&lt;/SPAN&gt; var.cluster_size
  max_num_clusters          &lt;SPAN class=""&gt;=&lt;/SPAN&gt; var.max_num_clusters
  min_num_clusters          &lt;SPAN class=""&gt;=&lt;/SPAN&gt; var.min_num_clusters
  auto_stop_mins            &lt;SPAN class=""&gt;=&lt;/SPAN&gt; var.auto_stop_mins
  enable_serverless_compute &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;true&lt;/SPAN&gt;
}&lt;/PRE&gt;&lt;P&gt;I'm using a service principal that has the necessary permissions. Interestingly, I can successfully create the same SQL endpoint using the Databricks REST API, authenticated with the same service principal.&lt;/P&gt;&lt;P&gt;However, when attempting to create the endpoint via Terraform, I receive the following error:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Error: cannot create sql endpoint: failed waiting for warehouse to start: timed out: Clusters are failing to launch. Cluster launch will be retried.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I upgraded the Databricks provider version, but it's still not working&lt;/P&gt;&lt;P&gt;Does anyone know what might be causing the difference in behavior between the Terraform provider and direct API usage?&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 07:26:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/unable-to-create-databricks-sql-endpoint-using-terraform/m-p/124740#M2150</guid>
      <dc:creator>Olfa_Kamli</dc:creator>
      <dc:date>2025-07-10T07:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create Databricks SQL Endpoint using Terraform Clusters failing to launch</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/unable-to-create-databricks-sql-endpoint-using-terraform/m-p/124777#M2151</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/103707"&gt;@Olfa_Kamli&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Terraform is usually stricter with how long it waits for resources to be ready, so it can time out faster than the REST API. You could try increasing the creation timeout in your Terraform config, as this might help give the warehouse enough time to start properly.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 10:53:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/unable-to-create-databricks-sql-endpoint-using-terraform/m-p/124777#M2151</guid>
      <dc:creator>SP_6721</dc:creator>
      <dc:date>2025-07-10T10:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create Databricks SQL Endpoint using Terraform Clusters failing to launch</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/unable-to-create-databricks-sql-endpoint-using-terraform/m-p/124816#M2155</link>
      <description>&lt;P&gt;Thank you for the quick response. However, even after adding the timeout attribute, the issue persists&lt;/P&gt;&lt;P&gt;----------------------------&lt;/P&gt;&lt;DIV class=""&gt;Failing to start&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Clusters are failing to launch. Cluster launch will be retried.&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;P&gt;Request to create a cluster failed with an exception: INTERNAL_ERROR: Unexpected error occurred when trying to create cluster.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 10 Jul 2025 15:57:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/unable-to-create-databricks-sql-endpoint-using-terraform/m-p/124816#M2155</guid>
      <dc:creator>Olfa_Kamli</dc:creator>
      <dc:date>2025-07-10T15:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create Databricks SQL Endpoint using Terraform Clusters failing to launch</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/unable-to-create-databricks-sql-endpoint-using-terraform/m-p/125740#M2161</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/156441"&gt;@SP_6721&lt;/a&gt;just a quick heads-up, this is all sorted now. Turns out the compute (warehouse) was just missing a tag. Added it, and everything started working as expected! Thank u !!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 18:24:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/unable-to-create-databricks-sql-endpoint-using-terraform/m-p/125740#M2161</guid>
      <dc:creator>Olfa_Kamli</dc:creator>
      <dc:date>2025-07-18T18:24:15Z</dc:date>
    </item>
  </channel>
</rss>

