arvancloud_cdn_domain_ssl (Resource)
Domain's SSL/TLS settings.
Example Usage
resource "cdn_domain_ssl" "example" {
domain = "cdn-terraform.ir"
certificate_mode = "managed"
fingerprint_status = false
hsts_max_age = "4mo"
hsts_preload = false
hsts_status = false
hsts_subdomain = false
https_redirect = false
replace_http = false
ssl_status = false
tls_version = ""
quic_status = false
}
Schema
Required
domain
(String) UUID or the name of the domain.
Optional
certificate_mode
(String) SSL certificate mode (managed or custom).fingerprint_status
(Boolean) Whether to enable SSL certificate fingerprint verification.hsts_max_age
(String) Maximum age for HSTS policy in seconds.hsts_preload
(Boolean) Whether to enable HSTS preload.hsts_status
(Boolean) Whether to enable HTTP Strict Transport Security (HSTS).hsts_subdomain
(Boolean) Whether to include subdomains in HSTS policy.https_redirect
(Boolean) Whether to redirect HTTP traffic to HTTPS.quic_status
(Boolean) Whether to enable QUIC protocol.replace_http
(Boolean) Whether to replace HTTP URLs with HTTPS in responses.ssl_status
(Boolean) Whether to enable SSL/TLS for the domain.tls_version
(String) Minimum TLS version to accept.
Read-Only
last_updated
(String) Timestamp of the last Terraform update of the domain.
Import
Import is supported using the following syntax:
terraform import cdn_domain_ssl.example cdn-terraform.ir