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.