azuread_group_role_management_policy
incorrect role_id
provisioned (the owner
instead of a member
)
#1491
Labels
Community Note
Terraform (and AzureAD Provider) Version
Affected Resource(s)
azuread_group_role_management_policy
Terraform Configuration Files
Debug Output
The debug log is taken for a limited configuration (in order to exlude logs, related to a group creation):
https://gist.github.com/sbareika/1b1e842282d26ddf08d0625acbe18181
Expected Behavior
The
member
PIM policy is configured for the provided GroupActual Behavior
During the first
apply
run theowner
role policy is configured instead of themember
:The following
plan
run shows the required changes and the secondapply
is actually provisions themember
policy:Steps to Reproduce
terraform apply
to create a new Group and a PIM policyWorkaround
As a workaround the following code works fine (i.e. create an empty
owner
role policy before themember
one):The text was updated successfully, but these errors were encountered: