Automating Microsoft Fabric resource management with Terraform

Gnana Sai krishna 80 Reputation points
2024-08-26T09:59:09.9966667+00:00

Is it possible to use Terraform to create and manage multiple Microsoft Fabric resources such as workspaces and lakehouses? Can we automate this process using Azure DevOps pipelines and Terraform?

Community Center | Not monitored
{count} votes

3 answers

Sort by: Most helpful
  1. Rakesh Gurram 15,700 Reputation points Microsoft External Staff Moderator
    2024-08-26T12:58:26.3433333+00:00

    Hi Gnana Sai krishna,

    Thank you for reaching out to us on the Microsoft Q&A forum.

    MS Fabric is currently not supported in the Q&A forums, the supported products are listed over here Supported products on Microsoft Q&A.

    You can ask the experts in the dedicated MS Fabric community forum.

    Can you please open as a new thread in MS Fabric community: General Discussion- Microsoft Fabric Community. Moderators are readily available there to assist you and provide guidance.

    I hope this information is helpful, please Accept Answer & Upvote so that it would be helpful to community members.

    0 comments No comments

  2. Christopher Nagl 0 Reputation points
    2024-08-26T18:27:05.7833333+00:00

    Hi @Gnana Sai krishna

    There is no official terraform provider yet, but I actually made my own:
    https://registry.terraform.io/providers/ChristopherNagl/microsoftfabric/0.5.1.
    A workspace and lakehouse resource is already implemented. Feel free to try it out!

    0 comments No comments

  3. Suwarna S Kale 3,391 Reputation points
    2025-02-09T21:01:11.5733333+00:00

    Hello Gnana Sai krishna,

    Thanks for posting your question in the Microsoft Q&A forum.

    While Terraform does not have a dedicated provider for Microsoft Fabric, many Fabric resources (like workspaces and lakehouses) are built on top of Azure services, which can be managed using the azurerm provider.

    Also, you may need to define Microsoft Fabric resources (e.g., workspaces, lakehouses) in Terraform configuration files (.tf files)

    If Fabric-specific resources you using that are not directly supported by the azurerm provider, you may need to use Azure REST APIs or PowerShell/CLI scripts in conjunction with Terraform to manage them.

    I have also found a useful link while learning myself with the same process, I hope this can also help you explore more - https://murggu.medium.com/deploying-microsoft-fabric-azure-capacity-using-terraform-8dfcbab16f64

    Does the response help answer your question? Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution. Thanks 🙂

    0 comments No comments

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.