databricks / terraform-provider-databricks

Databricks Terraform Provider
https://registry.terraform.io/providers/databricks/databricks/latest
Other
446 stars 385 forks source link

[ISSUE] Issue with `databricks_sql_global_config` resource #2368

Open Israphel opened 1 year ago

Israphel commented 1 year ago

Configuration

# Databricks SQL Global config
resource "databricks_sql_global_config" "sql_global_config" {
  security_policy           = "DATA_ACCESS_CONTROL"
  instance_profile_arn      = databricks_instance_profile.instance_profile.id
  data_access_config        = var.data_access_config
  sql_config_params         = var.sql_config_params
  enable_serverless_compute = true
}

Expected Behavior

enable_serverless_compute is deprecated and the warning sugests to remove it. But if I do, then the plan wants to switch its value from true to false.

Actual Behavior

It should remain true.

Steps to Reproduce

Remove line and then terraform plan.

Terraform and provider versions

terraform {
  required_version = "1.4.6"
  required_providers {
    aws = {
      source  = "hashicorp/aws"
      version = "4.67.0"
    }
    databricks = {
      source  = "databricks/databricks"
      version = "1.17.0"
    }
  }
}

Screenshots

Screen Shot 2023-06-02 at 10 45 10 Screen Shot 2023-06-02 at 10 54 36
owlleg6 commented 1 year ago

+1 got same issue

vadivelselvaraj commented 7 months ago

+1 I've the same issue and it's messing up our Serverless SQL Warehouse startup. Please fix this sooner.

tfreundo commented 1 month ago

Any update on this?