Skip to content

Commit bb05101

Browse files
author
oleh_mykolaishyn
committed
fix: sql serverless config; clusters lifecycle rule removed
1 parent 2a2e698 commit bb05101

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

cluster.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,6 @@ resource "databricks_cluster" "cluster" {
104104
}
105105
}
106106
}
107-
108-
lifecycle {
109-
ignore_changes = [
110-
state
111-
]
112-
}
113107
}
114108

115109
resource "databricks_cluster_policy" "this" {

main.tf

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@ resource "databricks_ip_access_list" "this" {
2727
}
2828

2929
# SQL Endpoint
30-
resource "databricks_sql_global_config" "this" {
31-
count = anytrue(var.sql_endpoint[*].enable_serverless_compute) ? 1 : 0
32-
33-
enable_serverless_compute = true
34-
}
35-
3630
resource "databricks_sql_endpoint" "this" {
3731
for_each = { for endpoint in var.sql_endpoint : (endpoint.name) => endpoint }
3832

@@ -49,7 +43,6 @@ resource "databricks_sql_endpoint" "this" {
4943
lifecycle {
5044
ignore_changes = [state, num_clusters]
5145
}
52-
depends_on = [databricks_sql_global_config.this]
5346
}
5447

5548
resource "databricks_system_schema" "this" {

0 commit comments

Comments
 (0)