Open scott-doyland-burrows opened 1 month ago
The github_repositories resource allows 1000 repos to be returned. It says this is a limit of the API.
github_repositories
However, when calling the API directly I can paginate the results (with 100 results per page), allowing me to actually obtain a list of ALL repos.
We have 2000 repos and I can just add onto the API call the following, which will give me the last 100 repos.
page=20&per_page=100
By altering the page= I can eventually list all repos.
page=
The terraform resource should allow similar functionality, where I can pass in a page.
page
Thanks
No response
Describe the need
The
github_repositories
resource allows 1000 repos to be returned. It says this is a limit of the API.However, when calling the API directly I can paginate the results (with 100 results per page), allowing me to actually obtain a list of ALL repos.
We have 2000 repos and I can just add onto the API call the following, which will give me the last 100 repos.
page=20&per_page=100
By altering the
page=
I can eventually list all repos.The terraform resource should allow similar functionality, where I can pass in a
page
.Thanks
SDK Version
No response
API Version
No response
Relevant log output
No response
Code of Conduct