cf-terraforming
cf-terraforming copied to clipboard
cloudflare_access_rule is documented as account scope only
Confirmation
- [X] My issue isn't already found on the issue tracker.
- [X] I have replicated my issue using the latest version of the library and it is still present.
cf-terraforming version
v0.8.3
Expected outcome
accodring to the code cloudflare_access_rule can either use zoneID or accountID. So the documentation should indicate the scope as Account or Zone.
https://github.com/cloudflare/cf-terraforming/blob/b68dec61e1230af9c0cb6af5d42f89f1adf22306/internal/app/cf-terraforming/cmd/generate.go#L188-L208
Actual outcome
The documentation indicates the scope as Account only :
https://github.com/cloudflare/cf-terraforming/blob/b68dec61e1230af9c0cb6af5d42f89f1adf22306/README.md?plain=1#L162
Steps to reproduce
read the doc :)
References
No response
Note that there is the same issue for:
- cloudflare_access_group
- cloudflare_access_application
- cloudflare_access_identity_provider
- cloudflare_access_service_token
and a similar issue here:
- cloudflare_custom_hostname_fallback_origin (it uses zoneID not accountID)