From 895d5ec831d7bd6a569ccfc25715789610c9a05c Mon Sep 17 00:00:00 2001 From: Marcin Maciaszczyk Date: Wed, 27 Sep 2023 17:44:55 +0200 Subject: [PATCH] fix duplicated name --- bootstrap/terraform/azure-bootstrap/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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