Terraform module to deploy multiple Azure dashboards in an Azure resource group using json template files for dashboard definitions.
This example deploys a simple dashboard.
Example uses tau for deployment.
module {
source = "github.com/avinor/terraform-azurerm-dashboard"
}
inputs {
name = "dashboard"
resource_group_name = "dashboard-rg"
location = "westeurope"
dashboards = [
{
name = "dash"
tpl_file = "simple_dashboard_json.tpl"
variables = {
title = "My Title"
}
}
]
tags = {
tag1 = "value1"
}
}