-
Notifications
You must be signed in to change notification settings - Fork 636
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
Add support for Proxy Read Timeout field in the Rulesets API #2755
Add support for Proxy Read Timeout field in the Rulesets API #2755
Conversation
changelog detected ✅ |
bd6cf28
to
5de2d26
Compare
@@ -233,6 +233,10 @@ func (r *RulesetResource) Schema(ctx context.Context, req resource.SchemaRequest | |||
Optional: true, | |||
MarkdownDescription: fmt.Sprintf("Products to target with the actions. %s.", utils.RenderAvailableDocumentationValuesStringSlice(cloudflare.RulesetActionParameterProductValues())), | |||
}, | |||
"proxy_read_timeout": schema.Int64Attribute{ | |||
Optional: true, | |||
MarkdownDescription: "Specifies a maximum timeout for reading content from an origin server", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MarkdownDescription: "Specifies a maximum timeout for reading content from an origin server", | |
MarkdownDescription: "Specifies a maximum timeout for reading content from an origin server.", |
docs/resources/ruleset.md
Outdated
@@ -513,6 +513,7 @@ Optional: | |||
- `phases` (Set of String) Point in the request/response lifecycle where the ruleset will be created. Available values: `ddos_l4`, `ddos_l7`, `http_config_settings`, `http_custom_errors`, `http_log_custom_fields`, `http_ratelimit`, `http_request_cache_settings`, `http_request_dynamic_redirect`, `http_request_firewall_custom`, `http_request_firewall_managed`, `http_request_late_transform`, `http_request_origin`, `http_request_redirect`, `http_request_sanitize`, `http_request_sbfm`, `http_request_transform`, `http_response_compression`, `http_response_firewall_managed`, `http_response_headers_transform`, `magic_transit`. | |||
- `polish` (String) Apply options from the Polish feature of the Cloudflare Speed app. | |||
- `products` (Set of String) Products to target with the actions. Available values: `bic`, `hot`, `ratelimit`, `securityLevel`, `uablock`, `waf`, `zonelockdown`. | |||
- `proxy_read_timeout` (Int) Sets the timeout value for reading content from an origin server. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the documentation is generated automatically based on the schema description (see https://github.com/cloudflare/terraform-provider-cloudflare/blob/master/contributing/registry-documentation.md)
this PR doesn't seem to introduce handling of the |
ece860c
to
125e894
Compare
125e894
to
682760c
Compare
acceptance tests all passing
|
This functionality has been released in v4.15.0 of the Terraform Cloudflare Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
No description provided.