Forum Discussion

angela_n's avatar
angela_n
Frequent Visitor
1 year ago
Solved

Terraform + Azure DevOps Pipeline Issue with Fabric Notebooks

Hey everyone, I’ve been using Terraform to create all the elements I need in Microsoft Fabric, and everything works fine when I run it locally under my user. Dev workspaces are created, and all elem...
  • angela_n's avatar
    angela_n
    1 year ago

     

    My workaround was to stop using the fabric_notebook resource to create notebooks. Instead, I treated them as templates to better handle environment-specific references. After deployment, I uploaded the notebooks manually and imported them into the Terraform state. Since there were no changes, I reactivated the fabric_notebook resource without issues.

    This unblocked my code release, but I’m still working on getting it to run through the pipeline. I used a service account to perform the steps above, but my pipeline runs with a service principal. When I trigger the pipeline, it fails—saying the workspaces are already in use.