We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
az
1 parent 7c7b984 commit 16ab9afCopy full SHA for 16ab9af
docs/guides/permissions/az/main.tf
@@ -83,7 +83,7 @@ resource "azurerm_role_definition" "task" {
83
}
84
85
resource "azurerm_role_assignment" "task" {
86
- name = azurerm_role_definition.task.name
+ name = azurerm_role_definition.task.role_definition_id
87
principal_id = azuread_service_principal.task.object_id
88
role_definition_id = azurerm_role_definition.task.role_definition_resource_id
89
scope = data.azurerm_subscription.current.id
0 commit comments