cloudflare / terraform-provider-cloudflare

Cloudflare Terraform Provider
https://registry.terraform.io/providers/cloudflare/cloudflare
Mozilla Public License 2.0
789 stars 610 forks source link

in zone overrides for image resizing add option to control "resize images from any origin" #1000

Closed vital4ik closed 3 years ago

vital4ik commented 3 years ago

Current Terraform version

0.14.7

Description

currently when running overrides, I can enable the image resizing, but I cant control "resize images from any origin". when i add this manually in the UI, it gets reset after every run to not set

Use cases

we run the overrides few times a day as part of the zone refresh and not having this option requires manually going into UI to add this feature.

Potential Terraform configuration

no configuration exists

References

No response

vitdolphin commented 3 years ago

hi @jacobbednarz , any plans to get this fixed?

jacobbednarz commented 3 years ago

this functionality is already available (added in #639) and v2.5.1. please see documentation at https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/zone_settings_override#image_resizing

vital4ik commented 3 years ago

@jacobbednarz I am referring to the option to "resize from any origin" which is not available, can you please reopen? image here is the image for the context. I am referring to the checkmark below the on/off toggle

jacobbednarz commented 3 years ago

that is the option I've referenced above. see the documentation for examples and you can try it out for yourself. the value you are after is "open".

vital4ik commented 3 years ago

I have tried and when i set this option with "on" it turns it on if it was off or unchecks this checkmark if it was on and had the "resize images from any origin" checked. which option on zone overrides would keep it on? is it "open"?