Hello, everyone! I’ve been working on deploying Databricks bundles using Terraform, and I’ve encountered an issue. During the deployment, the Terraform state file seems to reference resources tied to another user, which causes permission errors.
I’ve checked all my project files, including deployment.yml, and there are no visible references to the other user. I’ve also tried cleaning up the local terraform.tfstate file and .databricks folder, but the issue persists.
Is this a common problem when using Terraform for Databricks deployments? Could it be related to some hidden cache or residual state?
does not have Admin or Manage Run or Owner or View permissions on job 22955771686345
with databricks_job.RunBatch,
on bundle.tf.json line 234, in resource.databricks_job.RunBatch:
234: },
Any insights or suggestions would be greatly appreciated. Thanks!