Skip to content
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 'open' option for image_resizing setting #639

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cloudflare/resource_cloudflare_zone_settings_override.go
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ var resourceCloudflareZoneSettingsSchema = map[string]*schema.Schema{

"image_resizing": {
Type: schema.TypeString,
ValidateFunc: validation.StringInSlice([]string{"on", "off"}, false),
ValidateFunc: validation.StringInSlice([]string{"on", "off", "open"}, false),
Optional: true,
Computed: true,
},
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/zone_settings_override.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ These can be specified as "on" or "off" string. Similar to boolean values, but h
* `hotlink_protection` (default: `off`)
* `http2` (default: `off`)
* `http3` (default: `off`)
* `image_resizing` (default: `off`)
* `ip_geolocation` (default: `on`)
* `ipv6` (default: `off`)
* `mirage` (default: `off`)
Expand All @@ -83,6 +82,7 @@ These can be specified as "on" or "off" string. Similar to boolean values, but h
* `cache_level`. Allowed values: "aggressive" (default) - delivers a different resource each time the query string changes, "basic" - delivers resources from cache when there is no query string, "simplified" - delivers the same resource to everyone independent of the query string.
* `cname_flattening`. Allowed values: "flatten_at_root" (default), "flatten_all", "flatten_none".
* `h2_prioritization`. Allowed values: "on", "off" (default), "custom".
* `image_resizing`. Allowed values: "on", "off" (default), "open".
* `min_tls_version`. Allowed values: "1.0" (default), "1.1", "1.2", "1.3".
* `polish`. Allowed values: "off" (default), "lossless", "lossy".
* `pseudo_ipv4`. Allowed values: "off" (default), "add_header", "overwrite_header".
Expand Down