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

data_source_okta_groups - support type and search simultaneously #1987

Open
exitcode0 opened this issue Apr 24, 2024 · 1 comment
Open

data_source_okta_groups - support type and search simultaneously #1987

exitcode0 opened this issue Apr 24, 2024 · 1 comment
Labels
enhancement Asking for new behavior or feature triaged Triaged into internal Jira

Comments

@exitcode0
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

The following Are valid API requests

/api/v1/groups?search=type eq "APP_GROUP" and profile.name eq "example_group_name"
/api/v1/groups?search=type eq "OKTA_GROUP" and profile.name eq "example_group_name"

With this in mind, the terraform provider should support type and search at the same time on a data_source_okta_groups

New or Affected Resource(s)

  • data_source_okta_groups

Potential Terraform Configuration

data "okta_groups" "example_okta_group_name" {
  type   = "OKTA_GROUP"
  search = "profile.name eq \"example_okta_group_name\""
}
data "okta_groups" "example_app_group_name" {
  type   = "APP_GROUP"
  search = "profile.name eq \"example_app_group_name\""
}

References

  • #0000
@exitcode0 exitcode0 added the enhancement Asking for new behavior or feature label Apr 24, 2024
@duytiennguyen-okta duytiennguyen-okta added the triaged Triaged into internal Jira label Apr 30, 2024
@duytiennguyen-okta
Copy link
Contributor

OKTA internal reference https://oktainc.atlassian.net/browse/OKTA-724401

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 triaged Triaged into internal Jira
Projects
None yet
Development

No branches or pull requests

2 participants