-
Notifications
You must be signed in to change notification settings - Fork 139
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
Only 100 access rules are generated. #686
Comments
I would like to add I am experiencing the same issue just yesterday and found you beat me to the punch to post an issue 😄 . When I run cf-terraforming with verbose flag I get the following after the first 100 results page:
I thought this was interesting so I changed to zone ID instead and get
I figure this is due to pagination and the api per_page limit is 100, but some nil values are breaking the switch case in the code when populating these attributes. Also, I can retrieve all of them from the api just fine as long as I paginate the results, so it is a bug in Edit: Edit2: Edit3: |
This is a shame and disgrace for Cloudflare. For so many years, it has not been possible to make a normal integration with terraform - the problem of pagination is everywhere - dns, access rules, whatever. Specifically, I faced a problem - there are more than a thousand rules in my account (enterprise). Why can't they all be exported correctly? In fact, there is neither a convenient utility from Cloudflare nor an integration with terraform that would work correctly... |
Confirmation
cf-terraforming version
cf-terraforming -dev+
Expected outcome
I expected to migrate all access rules (>1000)
Actual outcome
Only 100 access rules are generated.
Steps to reproduce
Well... you should have > 100 access rules on CF
Tried several domain zones with more than 100 rules
References
No response
The text was updated successfully, but these errors were encountered: