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.