Databricks bundle error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2025 06:15 AM
Hi everyone,
I'm encountering an issue during deployment with Terraform on Databricks.
The error I get is:
Error: failed to read remote state file: stream error: stream ID 21; NO_ERROR; received from peer
On another attempt (after a manual mistake on my side), I also saw:
Error: failed to read remote state file: context canceled
What’s strange is that this happens only on the develop branch of one specific project — deployments work fine on other branches and repositories.
I’m using the same remote backend for the state file, and the Terraform configuration is identical across branches.
Has anyone experienced this issue before or has any idea what could cause this behavior limited to a single branch? Could it be related to a connection issue with the remote backend or possibly a corrupted state file?
Thanks in advance for any help or insights.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2025 03:04 AM
Yes, I also find that sometimes the deploy fails. F.e. when cluster config using policies has changed or when you want to use mixed node types in combination with policies.
What I do is do destroy the bundle or the job that gives issues.
Then deploy.
That takes care of the issue most of the times.