Skip to content

Commit

Permalink
[DEVEX-179] Few fix for PagoPA Opex Dashboards Contributor custom rol…
Browse files Browse the repository at this point in the history
…e definition (#1261)
  • Loading branch information
Krusty93 authored Oct 25, 2024
1 parent 371d125 commit eb2a8e6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/core/_modules/custom_roles/pagopa_opex_role.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resource "azurerm_role_definition" "pagopa_opex_contributor" {
name = "PagoPA Opex Contributor"
name = "PagoPA Opex Dashboards Contributor"
scope = var.subscription_id
description = "Role to manage the Opex Dashboards creation, modification and deletion"

Expand All @@ -8,12 +8,11 @@ resource "azurerm_role_definition" "pagopa_opex_contributor" {
"Microsoft.Portal/dashboards/write",
"Microsoft.Portal/dashboards/read",
"Microsoft.Portal/dashboards/delete",
"Microsoft.Portal/dashboards/sharedDashboard/principalAssignments/write",
]
not_actions = []
}

assignable_scopes = [
"/subscriptions/${var.subscription_id}"
var.subscription_id
]
}

0 comments on commit eb2a8e6

Please sign in to comment.