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

Enhance okta_group_owner Resource to Support Multiple Group Owners #2110

Open
achanupgrade opened this issue Oct 24, 2024 · 0 comments
Open
Labels
enhancement Asking for new behavior or feature

Comments

@achanupgrade
Copy link

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 other comments that do not add relevant new information or questions, 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

Currently, the okta_group_owner resource supports only a single group owner. It would be beneficial if this resource could manage multiple group owners, similar to how okta_group_memberships operates. The current implementation, while functional, feels inconsistent with okta_group_memberships and becomes verbose when specifying multiple group owners.

New or Affected Resource(s)

  • okta_group_owner

Potential Terraform Configuration

Currently, one group owner is specified per resource:

resource "okta_group_owner" "owner_1" {
  group_id           = "foo_group"
  id_of_group_owner  = "foo_user_1"
  type               = "USER"
}

Instead, we could specify a set of group owners per resource:

resource "okta_group_owners" "owners" {
  group_id             = xxxxxxxx
  ids_of_group_owners  = ["foo_user_1", "foo_user_2"]
  type                 = "USER"
}

References

@achanupgrade achanupgrade added the enhancement Asking for new behavior or feature label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Asking for new behavior or feature
Projects
None yet
Development

No branches or pull requests

1 participant