Hostnames
HostnamesSettingsTLS
resource cloudflare_hostname_tls_setting
required
setting_id: String
The TLS Setting name. The value type depends on the setting:
ciphers: value is an array of cipher suite strings (e.g.,["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"])min_tls_version: value is a TLS version string ("1.0","1.1","1.2", or"1.3")http2: value is"on"or"off"
value: String
The TLS setting value. The type depends on the setting_id used in the request path:
ciphers: an array of allowed cipher suite strings in BoringSSL format (e.g.,["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"])min_tls_version: a string indicating the minimum TLS version — one of"1.0","1.1","1.2", or"1.3"(e.g.,"1.2")http2: a string indicating whether HTTP/2 is enabled —"on"or"off"(e.g.,"on")
computed
cloudflare_hostname_tls_setting
resource "cloudflare_hostname_tls_setting" "example_hostname_tls_setting" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
setting_id = "ciphers"
hostname = "app.example.com"
value = "1.0"
}
data cloudflare_hostname_tls_setting
required
computed
id: String
The TLS Setting name. The value type depends on the setting:
ciphers: value is an array of cipher suite strings (e.g.,["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"])min_tls_version: value is a TLS version string ("1.0","1.1","1.2", or"1.3")http2: value is"on"or"off"
value: String
The TLS setting value. The type depends on the setting_id used in the request path:
ciphers: an array of allowed cipher suite strings in BoringSSL format (e.g.,["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"])min_tls_version: a string indicating the minimum TLS version — one of"1.0","1.1","1.2", or"1.3"(e.g.,"1.2")http2: a string indicating whether HTTP/2 is enabled —"on"or"off"(e.g.,"on")
cloudflare_hostname_tls_setting
data "cloudflare_hostname_tls_setting" "example_hostname_tls_setting" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
setting_id = "ciphers"
}