Synapse doesn't deploy because of spark pool reference

L.B 0 Reputation points
2024-01-26T11:02:09.8933333+00:00

Iam deploying Azure Synapse with Terraform. The problem is deployment fail because of notebook reference. That's normal because in Synapse we can't use a notebook without attaching spark pool. I have the following error (with Terraform, or even when trying to delete the spark pool through the Azure portal).

Error: waiting for the deletion of Spark Pool: (Big Data Pool Name "synsp01" / Workspace Name "X" / Resource Group "rg-X"): Future#WaitForCompletion: the number of retries has been exceeded: StatusCode=400 -- Original Error: Code="DeleteSparkComputeAdfError" Message="The document cannot be deleted since it is referenced by X."`

I know I can create a new spark pool and attach notebooks to the new one. But no the final solution with terraform, I guess the error will come again. What can I do (in Synapse or Terraform) to avoid this error? UPDATE : I deleted all my notebooks and pipelines on Synapse. I published, and I still have the error when deploying with Terraform.

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,245 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.