Terraform module which creates Azure Managed Grafana resources.
- Creates a managed Grafana instance in the given resource group.
- Audit logs sent to given Log Analytics workspace by default.
- Azure role
Contributor
at the resource group scope. - Azure role
Log Analytics Contributor
at the Log Analytics workspace scope.
provider "azurerm" {
features {}
}
module "grafana" {
source = "equinor/grafana/azurerm"
version = "~> 2.2"
instance_name = "example-grafana"
resource_group_name = azurerm_resource_group.example.name
location = azurerm_resource_group.example.location
log_analytics_workspace_id = module.log_analytics.workspace_id
}
resource "azurerm_resource_group" "example" {
name = "example-resources"
location = "westeurope"
}
module "log_analytics" {
source = "equinor/log-analytics/azurerm"
version = "~> 2.3"
workspace_name = "example-workspace"
resource_group_name = azurerm_resource_group.example.name
location = azurerm_resource_group.example.location
}
Azure Managed Grafana has a limitation when trying to log into Grafana using AAD SSO with the Firefox browser. Firefox 91+ is only supported on Windows devices when it comes to conditional access.
To resolve this issue, do either of the following:
- Use Firefox 91+, since it is supported for device-based Conditional Access, but "Allow Windows single sign-on for Microsoft, work, and school accounts" needs to be enabled. Enable Windows SSO login in Firefox.
- Pursue the use of a different browser.