i want to create a ADX dashboard using terraform, but i am not able to get the terraform resource for that

Nitika Singhal 0 Reputation points
2025-03-17T10:58:39.5166667+00:00

i want to create a ADX dashboard using terraform, but i am not able to get the terraform resource for that

Azure Data Explorer
Azure Data Explorer
An Azure data analytics service for real-time analysis on large volumes of data streaming from sources including applications, websites, and internet of things devices.
561 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Smaran Thoomu 22,840 Reputation points Microsoft External Staff
    2025-03-17T13:12:42.8833333+00:00

    Hi @Nitika Singhal

    Currently, there is no dedicated Terraform resource for creating Azure Data Explorer (ADX) dashboards.

    However, here are some alternative approaches you can consider:

    Terraform Deployment for ADX:

    • Terraform offers the same capabilities as ARM templates. You can use Terraform to deploy clusters, databases, data connections, and other infrastructure components.
    • Additionally, Terraform can be used to deploy command scripts that help create a database schema and define policies.
    • However, Terraform does not currently provide a direct resource for ADX dashboards.

    Alternative Approaches for ADX Dashboards:

    • Use Azure Resource Manager (ARM) Templates: Since dashboards are typically part of Azure Monitor Workbooks, you can deploy them via ARM templates or Bicep.
    • Terraform + ARM Template Deployment: If you prefer Terraform, you can use azurerm_resource_group_template_deployment to deploy an ARM template for workbooks.
    • Azure API or PowerShell: You can use the Azure Monitor Workbook API or PowerShell scripts to automate dashboard creation.

    For more information you can refer this article: Deploy infrastructure

    Could you share more details on your use case? That way, I can help suggest a more tailored approach.

    I hope this helps. Please let us know if you have further questions.

    Kindly consider upvoting the comment if the information provided is helpful. This can assist other community members in resolving similar issues.


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.