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

Add exclusion of users in okta_group_rule. #620

Closed
Omicron7 opened this issue Aug 31, 2021 · 1 comment · Fixed by #651
Closed

Add exclusion of users in okta_group_rule. #620

Omicron7 opened this issue Aug 31, 2021 · 1 comment · Fixed by #651
Labels
enhancement Asking for new behavior or feature

Comments

@Omicron7
Copy link
Contributor

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

Add the ability to exclude users in the okta_group_rule resource. The Okta API supports this as conditions.people.users.exclude property. We currently use this feature in a few group rules and are unable to import them into terraform because of the missing feature.

New or Affected Resource(s)

  • okta_group_rule

Potential Terraform Configuration

  name   = "All Larrys"
  status = "ACTIVE"
  group_assignments = [
    okta_group.all_larrys.id
  ]
  expression_type  = "urn:okta:expression:1.0"
  expression_value = "String.startsWith(user.firstName,\"Larry\")"
  users_excluded = [
    okta_user.the_one_larry.id
  ]

References

@Omicron7 Omicron7 added the enhancement Asking for new behavior or feature label Aug 31, 2021
@bogdanprodan-okta
Copy link
Contributor

Hi @Omicron7! Thanks for submitting this issue! I'll create a corresponding PR to add this functionality asap.

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

Successfully merging a pull request may close this issue.

2 participants