diff --git a/bootstrap/terraform/azure-bootstrap/main.tf b/bootstrap/terraform/azure-bootstrap/main.tf index 43e5cb2eb..54eae3833 100644 --- a/bootstrap/terraform/azure-bootstrap/main.tf +++ b/bootstrap/terraform/azure-bootstrap/main.tf @@ -204,13 +204,13 @@ resource "azurerm_user_assigned_identity" "aso" { resource_group_name = data.azurerm_resource_group.group.name } -resource "azurerm_role_assignment" "rg-contributor" { +resource "azurerm_role_assignment" "aso-rg-contributor" { scope = data.azurerm_resource_group.group.id role_definition_name = "Contributor" principal_id = azurerm_user_assigned_identity.aso.principal_id } -resource "azurerm_role_assignment" "node-rg-contributor" { +resource "azurerm_role_assignment" "aso-node-rg-contributor" { scope = data.azurerm_resource_group.node_group.id role_definition_name = "Contributor" principal_id = azurerm_user_assigned_identity.aso.principal_id