From 00f67bf2561259f8892f14a5a9759bd27e9fc591 Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Thu, 12 Feb 2026 11:58:52 +0100 Subject: [PATCH] Add pipelines recreate_on_changes for gateway_definition and ingestion_definition From terraform-provider-databricks pipelines/resource_pipeline.go: - gateway_definition.{connection_id,connection_name,gateway_storage_catalog, gateway_storage_schema} are SetForceNew (L204) - ingestion_definition.ingest_from_uc_foreign_catalog is SetForceNew (L209) Co-Authored-By: Claude Opus 4.6 --- bundle/direct/dresources/resources.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/bundle/direct/dresources/resources.yml b/bundle/direct/dresources/resources.yml index d8f0f8b0f4..31300081b3 100644 --- a/bundle/direct/dresources/resources.yml +++ b/bundle/direct/dresources/resources.yml @@ -44,6 +44,18 @@ resources: reason: immutable - field: ingestion_definition.ingestion_gateway_id reason: immutable + # https://github.com/databricks/terraform-provider-databricks/blob/4eba541abe1a9f50993ea7b9dd83874207e224a1/pipelines/resource_pipeline.go#L204 + - field: gateway_definition.connection_id + reason: immutable + - field: gateway_definition.connection_name + reason: immutable + - field: gateway_definition.gateway_storage_catalog + reason: immutable + - field: gateway_definition.gateway_storage_schema + reason: immutable + # https://github.com/databricks/terraform-provider-databricks/blob/4eba541abe1a9f50993ea7b9dd83874207e224a1/pipelines/resource_pipeline.go#L209 + - field: ingestion_definition.ingest_from_uc_foreign_catalog + reason: immutable ignore_remote_changes: # "id" is handled in a special way before any fields changed # However, it is also part of RemotePipeline via CreatePipeline.