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 resources will be always searched from first 50 clients #267

Closed
rma945 opened this issue Aug 4, 2022 · 2 comments
Closed

data resources will be always searched from first 50 clients #267

rma945 opened this issue Aug 4, 2022 · 2 comments
Labels
🪲 bug Something isn't working

Comments

@rma945
Copy link

rma945 commented Aug 4, 2022

Describe the problem

If you have more than 50 clients - terraform data resources will not work properly, because by default API client will always use 50 items per page

What was the expected behavior?

Add parameter in a provider configuration for a define per_page variable

Reproduction

Just create more than 50 clients, and then try to get the client with logical number 51 by data resource

Environment

terraform version: 1.2.6
auth0 provider version: 0.31.0

@sergiught
Copy link
Contributor

Hey @rma945 thanks for reporting this. I went ahead and worked on a fix for this in #306. Once that gets merged and released I'll update this issue:) Thanks for your patience!

@sergiught
Copy link
Contributor

Hey @rma945 this was now fixed within https://registry.terraform.io/providers/auth0/auth0/0.37.0, closing this issue down now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪲 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants