terraform-provider-databricks icon indicating copy to clipboard operation
terraform-provider-databricks copied to clipboard

[ISSUE] Changes to databricks_job.notebook_task.base_parameters block escape drift detection

Open vadivelselvaraj opened this issue 6 months ago • 0 comments

When changes are made only to notebook_task.base_parameters block in a databricks_job, the respective updates aren't detected in terraform plan stage.

Configuration

resource "databricks_job" "foo_data_ingestion" {
  name = "foo_data_ingestion"
  ...
  task {
    ...
    notebook_task {
      ..
     base_parameters {
        "src_catalog" : "src_finance",
        "schema" : "vertafore",
        "ddl_path" : "./DDLs/"
     }
    }
  }
}

In our case, we changed "ddl_folder_path" to ddl_path.

Expected Behavior

Updates to notebook_task.base_parameters should be detected and the respective updates be made.

Terraform and provider versions

Terraform core version: 1.3.5 Databricks tf provider version: 1.49.1

Important Factoids

  1. Changes to both notebook_task.base_parameters keys and values weren't detected.

vadivelselvaraj avatar Aug 08 '24 19:08 vadivelselvaraj