You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: waiting for Role Management Policy: (Principal Id "<principal_id>" / Scope "/subscriptions/<subscriptionID2>" / Role Definition Id "<data.azurerm_subscription.primary.id>/providers/Microsoft.Authorization/roleDefinitions/<role_definition_id>") to become found: timeout while waiting for state to become 'Found' (last state: 'Missing', timeout: 5m0s)
Error: waiting for Role Management Policy: (Principal Id "<principal_id>" / Scope "/subscriptions/<subscriptionID2>" / Role Definition Id "<data.azurerm_subscription.primary.id>/providers/Microsoft.Authorization/roleDefinitions/<role_definition_id>") to become ready: couldn't find resource (21 retries)
Expected Behaviour
No response
Actual Behaviour
Terraform code is failing but role assignments are created in azure portal
You did not fix the timeout issue for azurerm_pim_active_role_assignment
Unable to find role management policy for azurerm_pim_active_role_assignment and azurerm_pim_eligible_role_assignment when the role definition is at a different subscription
Terraform code is failing but all 4 PIM assignments (2x active 2x eligible) are created and can be found in Azure Portal
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Terraform Version
1.5.2
AzureRM Provider Version
3.69
Affected Resource(s)/Data Source(s)
azurerm_pim_active_role_assignment, azurerm_pim_eligible_role_assignment
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
No response
Actual Behaviour
Terraform code is failing but role assignments are created in azure portal
Steps to Reproduce
No response
Important Factoids
No response
References
Bug is not fixed for #22588 and #22730.
You did not fix the timeout issue for azurerm_pim_active_role_assignment
Unable to find role management policy for azurerm_pim_active_role_assignment and azurerm_pim_eligible_role_assignment when the role definition is at a different subscription
Terraform code is failing but all 4 PIM assignments (2x active 2x eligible) are created and can be found in Azure Portal
The text was updated successfully, but these errors were encountered: