Skip to content

Commit

Permalink
fix(grafana): use principalId in LAW role (#1043)
Browse files Browse the repository at this point in the history
  • Loading branch information
sduranc authored Oct 24, 2024
1 parent 2df22b6 commit fb77e8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ resource "azurerm_role_assignment" "grafana_admin" {
}

resource "azurerm_role_assignment" "log_analytics_reader" {
principal_id = azurerm_dashboard_grafana.grafana.id
principal_id = azurerm_dashboard_grafana.grafana.identity[0].principal_id
scope = azurerm_log_analytics_workspace.application.id
role_definition_name = "Log Analytics Reader"
skip_service_principal_aad_check = true
Expand Down

0 comments on commit fb77e8a

Please sign in to comment.