Configuration
# Warning: this will destroy the imported resource
-/+ resource "databricks_sql_table" "external" {
catalog_name = "my_catalog"
+ cluster_id = (known after apply)
data_source_format = "CSV"
effective_properties = {
"spark.sql.dataSourceOptions.delimiter" = ","
"spark.sql.dataSourceOptions.header" = "true"
}
~ id = "my_sql_table" -> (known after apply)
name = "my_name"
+ options = { # forces replacement
+ "delimiter" = ","
+ "header" = "true"
}
Expected Behavior
Importing using information from YAML config and live resource match and should not force replacement. The options.delimiter and effective_properties.spark.sql.dataSourceOptions.delimiter are the same.
Actual Behavior
Terraform plans to force a replacement of the resource.
Steps to Reproduce
Terraform and provider versions
Terraform: v1.13.3
Provider: v1.85.0
Is it a regression?
Don't know. Possibly related #4098.
Configuration
Expected Behavior
Importing using information from YAML config and live resource match and should not force replacement. The
options.delimiterandeffective_properties.spark.sql.dataSourceOptions.delimiterare the same.Actual Behavior
Terraform plans to force a replacement of the resource.
Steps to Reproduce
Terraform and provider versions
Terraform:
v1.13.3Provider:
v1.85.0Is it a regression?
Don't know. Possibly related #4098.