Terraform module for creation Azure Workbooks and Dashboards for Databricks and Data Factory
This module provides an ability to deploy Azure Dashboard and Workbook. Here is an example how to provision Azure workbook and shared dashboard for Azure databricks and Azure Data Factory
locals {
tags = {
environment = "development"
}
}
data "azurerm_data_factory" "example" {
name = "existing_adf"
resource_group_name = "example_rg"
}
data "azurerm_log_analytics_workspace" "example" {
name = "existing_law"
resource_group_name = "example_rg"
}
module "monitoring" {
source = "data-platform-hq/monitoring/azurerm"
project = "datahq"
env = "dev"
location = "eastus"
tags = local.tags
resource_group = "example_rg"
azure_data_factory_id = { data.azurerm_data_factory.example.name = data.azurerm_data_factory.example.id }
log_analytics_workspace_id = { data.azurerm_log_analytics_workspace.example.name = data.azurerm_log_analytics_workspace.example.id }
}
Name | Version |
---|---|
terraform | >= 1.0.0 |
azurerm | >= 4.0.1 |
random | >= 3.4.3 |
Name | Version |
---|---|
azurerm | >= 4.0.1 |
random | >= 3.4.3 |
No modules.
Name | Type |
---|---|
azurerm_application_insights_workbook.adf | resource |
azurerm_application_insights_workbook.databricks | resource |
azurerm_portal_dashboard.adf | resource |
azurerm_portal_dashboard.databricks | resource |
random_uuid.adf | resource |
random_uuid.databricks | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
adf_map | Azure Data Factory name to id map | map(string) |
{} |
no |
custom_adf_dashboard_name | Specifies the name of the Azure Data Factory Shared Dashboard | string |
null |
no |
custom_adf_workbook_name | Specifies the display name of Azure Data Factory Workbook | string |
null |
no |
custom_databricks_dashboard_name | Specifies the name of the Databricks Shared Dashboard | string |
null |
no |
custom_databricks_workbook_name | Specifies the display name of Databricks Workbook | string |
null |
no |
env | Environment name | string |
n/a | yes |
location | Specifies the supported Azure location where the resource exists | string |
n/a | yes |
log_analytics_workspace_map | Azure Log Analytics name to id map | map(string) |
{} |
no |
project | Project name | string |
n/a | yes |
resource_group | The name of the resource group in which the Log Analytics workspace is created | string |
n/a | yes |
tags | A mapping of tags to assign to the resource | map(string) |
{} |
no |
Name | Description |
---|---|
dashboard_adf_id | Azure Shared Dashboard Adf ID |
dashboard_databricks_id | Azure Shared Dashboard Databricks ID |
workbook_adf_id | Azure Workbook ADF Template ID |
workbook_databricks_id | Azure Workbook Databricks Template ID |
Apache 2 Licensed. For more information please see LICENSE