-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
azuread_group_member
- group as a member in a group
#1500
Comments
We are also experiencing this issue! |
|
@juicybaba yes, thanks, that works but as there is nothing in the migration guide related to this change, i went with reporting it as a bug. |
Hi @kaplik, @juicybaba is correct, As a guide, where a property ends with |
How about the -/+ resource "azurerm_role_assignment" "avd_customer_as_application_group_user" {
~ principal_id = "0b8f0b8f-0b8f-0b8f-0b8f-0b8f0b8f0b8f" -> "/groups/0b8f0b8f-0b8f-0b8f-0b8f-0b8f0b8f0b8f" # forces replacement
...
│ Error: expected "group_object_id" to be a valid UUID, got /groups/0b8f0b8f-0b8f-0b8f-0b8f-0b8f0b8f0b8f
│
│ with module.stack_platform.azuread_group_member.avd_customer["90239023-9023-9023-9023-902390239023"],
│ on ../../../../modules/mloskot/azure/stack-platform/r-avd-users.tf line 78, in resource "azuread_group_member" "avd_customer":
│ 78: group_object_id = azuread_group.avd_customer[each.value.ucid].id which I posted also to |
doesn't that still have the azuread_group_example.id in the error you have. |
That is clear to me, as @manicminer already explained that in #1500 (comment), but my question in #1500 (comment) was about
Well, I should have referred the source indeed |
@mloskot Admittedly that one is less clear, as that resource is in the AzureRM provider, it unfortunately hasn't yet been updated. But you should use the resource "azurerm_role_assignment" "example" {
principal_id = azuread_service_principal.example.object_id
} |
Community Note
Terraform (and AzureAD Provider) Version
Affected Resource(s)
azuread_group_member
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
worked before version 3
Actual Behavior
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: