Add support for score_per_period and score_response_header_name #2176
Labels
kind/enhancement
Categorizes issue or PR as related to improving an existing feature.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
Milestone
Current Terraform and Cloudflare provider version
Terraform v1.3.7
on darwin_amd64
Description
Indeed would like to use Terraform to manage Advanced Rate Limiting rules. However, the score_per_period and score_response_header_name are only available via the API. I have opened a PR for adding support for these fields in the cloudflare-go SDK which is a prerequisite for this change to be merged. Additional changes to this PR will be required once that is merged and a new version of the SDK is released.
cloudflare-go PR: cloudflare/cloudflare-go#1182
Use cases
See documentation on score_per_period and score_response_header_name here: https://developers.cloudflare.com/waf/rate-limiting-rules/create-api/#example-d---complexity-based-rate-limiting-rule
Potential Terraform configuration
References
See cloudflare/cloudflare-go#1183
The text was updated successfully, but these errors were encountered: