From 682871455a85175713715ae29177befe39e1f209 Mon Sep 17 00:00:00 2001 From: florianow <64468897+florianow@users.noreply.github.com> Date: Mon, 4 May 2026 12:24:00 +0200 Subject: [PATCH] the full id works not in meshStack. This cant work as it is --- modules/azure/meshstack_integration.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/azure/meshstack_integration.tf b/modules/azure/meshstack_integration.tf index 71e62a55..f631978e 100644 --- a/modules/azure/meshstack_integration.tf +++ b/modules/azure/meshstack_integration.tf @@ -181,7 +181,7 @@ resource "meshstack_platform" "azure" { { azure_role = { alias = "admin" - id = data.azurerm_role_definition.contributor.id + id = basename(data.azurerm_role_definition.contributor.role_definition_id) } project_role_ref = { name = "admin" @@ -190,7 +190,7 @@ resource "meshstack_platform" "azure" { { azure_role = { alias = "user" - id = data.azurerm_role_definition.contributor.id + id = basename(data.azurerm_role_definition.contributor.role_definition_id) } project_role_ref = { name = "user" @@ -199,7 +199,7 @@ resource "meshstack_platform" "azure" { { azure_role = { alias = "reader" - id = data.azurerm_role_definition.reader.id + id = basename(data.azurerm_role_definition.reader.role_definition_id) } project_role_ref = { name = "reader"