Universal SSL in terraform

Can anyone help me out and show me where the universal SSL settings are in the tf provider?
2 Replies
SuperHelpflare
SuperHelpflare3mo ago
Support AI
Hey 👋 It seems there may not be enough information in your post to effectively get support from the community. Please ensure you include as much as possible, you can check the channel guidelines for some examples of what kind of information to include.
This is an AI generated response, it may not be 100% accurate. Please validate the output. You can ask followups by replying to this message or mentioning me.
Cyb3r-Jak3
Cyb3r-Jak33mo ago
What version of the provider are you using? Using V4 should be
resource "cloudflare_zone_settings_override" "test" {
zone_id = "<your zone id>"
settings {
"universal_ssl" = "on"
}
}
resource "cloudflare_zone_settings_override" "test" {
zone_id = "<your zone id>"
settings {
"universal_ssl" = "on"
}
}
https://registry.terraform.io/providers/cloudflare/cloudflare/4.52.1/docs/resources/zone_settings_override I think v5 provider is something like
resource "cloudflare_zone_setting" "example_zone_setting" {
zone_id = "<your zone id>"
setting_id = "universal_ssl"
value = "on"
}
resource "cloudflare_zone_setting" "example_zone_setting" {
zone_id = "<your zone id>"
setting_id = "universal_ssl"
value = "on"
}
https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/zone_setting

Did you find this page helpful?