Skip to content
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

Feature request-How to use existing Azure Entra ID group with Role Mapping #1996

Open
1 task done
santoshbhati79 opened this issue Jun 6, 2024 · 0 comments
Open
1 task done

Comments

@santoshbhati79
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

I'm having hard time to use an existing Entra ID group in Role Mapping. I need help badly. Thank you !

azuread_groups = {
existing = {
# https://github.com/aztfmod/terraform-azurerm-caf/blob/06d281ed891f0ac8acf4583c8291b899a55117d5/modules/azuread/groups/output.tf
id = "xxxxxxxx-b449-419e-aad8-fd6bf6d1f306"
rbac_id = "xxxxxxxx-b449-419e-aad8-fd6bf6d1f306" # When used in role mapping
}
}

role_mapping = {
built_in_role_mapping = {
resource_groups = {
rg = {
"Reader" = {
azuread_groups = {
keys = ["existing"] #I've tried this it did not work
rbac_id = "xxxxxxxx-b449-419e-aad8-fd6bf6d1f306" #I've tried this it did not work
}
}
}
}
}
}

New or Affected Resource(s

azurerm_role_mapping

Potential Configuration file

No response

References

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant