databricks / terraform-provider-databricks

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

[Fix] Suppress equal fold diff for DLT pipeline resource #4196

Closed shreyas-goenka closed 2 weeks ago

shreyas-goenka commented 2 weeks ago

Changes

Fixes https://github.com/databricks/cli/issues/1763. During creation the catalog name for a DLT pipeline is normalized to small case causing a persistent drift.

Tests

Manually with the following configuration:

resource "databricks_pipeline" "this" {
  name = "testing caps"
  catalog = "MaiN"
  library {
    notebook {
      path = "/a/b/c"
    }
  }
}

Before: There'd be a persistent drift where terraform would try to convert "MaiN" -> "main"

After: No diff detected.

github-actions[bot] commented 2 weeks ago

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger: go/deco-tests-run/terraform

Inputs:

Checks will be approved automatically on success.

eng-dev-ecosystem-bot commented 2 weeks ago

Test Details: go/deco-tests/11702135145