Not possible to set cloudflare_zone_setting values other than on/off with v5 #4779
Closed
3 tasks done
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
triage/debug-log-attached
Indicates an issue or PR has a complete Terraform debug log.
Confirmation
Terraform and Cloudflare provider version
Terraform v1.9.8
on linux_amd64
Affected resource(s)
cloudflare_zone_setting
Terraform configuration files
Link to debug output
https://gist.github.com/devin-purple/1d00392bf496e953085badf4b3e20706
Panic output
No response
Expected output
Setting applies
Actual output
Various errors
"Attribute value value must be one of: ["on" "off"], got: "strict""
Or browser_cache_ttl:
Attribute value value must be one of: ["on" "off"], got: "300"
Steps to reproduce
Apply code
Additional factoids
I am trying to turn on SSL strict mode in a zone, Flexible is the default.
References
https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/zone_setting seems to indicate that "value" is a string but can only be on/off. And "enabled" is a boolean so it seems impossible to set a value like "300" or "strict".
The text was updated successfully, but these errors were encountered: