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

compound_search_operator argument missing from data.okta_users #1077

Closed
dli-spoton opened this issue Apr 26, 2022 · 3 comments
Closed

compound_search_operator argument missing from data.okta_users #1077

dli-spoton opened this issue Apr 26, 2022 · 3 comments
Assignees

Comments

@dli-spoton
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

Terraform Version

Terraform v1.0.4
on darwin_amd64
+ provider registry.terraform.io/okta/okta v3.25.0

Affected Resource(s)

  • data.okta_users

Terraform Configuration Files

data "okta_users" "example" {
  search {
    name       = "status"
    value      = "DECOMISSIONED"
    comparison = "eq"
  }
  search {
    name       = "status"
    value      = "STAGED"
    comparison = "eq"
  }
  compound_search_operator = "or"
}

Debug Output

Panic Output

Expected Behavior

Join the search blocks with an or operator

Actual Behavior

│ Error: Unsupported argument
│ 
│   on main.tf line 29, in data "okta_users" "example":29:   compound_search_operator = "or"
│ 
│ An argument named "compound_search_operator" is not expected here.

Steps to Reproduce

  1. terraform plan

Important Factoids

References

@monde
Copy link
Collaborator

monde commented Apr 26, 2022

@dli-spoton we just did a release yesterday, I'll try and do a quick bug fix today.

@monde
Copy link
Collaborator

monde commented Apr 26, 2022

I have a fix queued up in PR #1081 and am waiting for a colleague to review it before releasing.

@monde monde closed this as completed in 2ff0f6a Apr 26, 2022
@monde
Copy link
Collaborator

monde commented Apr 27, 2022

v3.25.1 is available in the terraform registry

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

No branches or pull requests

2 participants