databricks / terraform-provider-databricks

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

[ISSUE] Issue with `databrick_metastore_assignment` resource #4147

Open mbassler opened 4 weeks ago

mbassler commented 4 weeks ago

Configuration

resource "databricks_metastore_assignment" "this" {
  metastore_id = databricks_metastore.this.id
  workspace_id = local.workspace_id
}

Note: No default_catalog_name

Expected Behavior

No attempt should be made to manage the default catalog name

Actual Behavior

default_catalog_name is defaulted to hive_metastore, the parameter is documented as deprecated. The default behavior should be to do nothing with the default_catalog_name.

Steps to Reproduce

  1. terraform apply

Terraform and provider versions

Terraform v1.9.8 on windows_amd64

Is it a regression?

No

Would you like to implement a fix?

Please stop managing the default_catalog_name from databricks_metastore_assignment now that default_namespace_setting is the preferred method via the documentation.