arvancloud_cdn_domain_load_balancer_settings (Resource)
Domain's Load Balancer.
Example Usage
resource "arvancloud_cdn_domain_load_balancer_settings" "example" {
domain = "cdn-terraform.ir"
keepalive = "on"
next_upstream_tcp = "on"
next_upstream_codes = {
get = [404, 503]
put = [403, 502]
}
method = "cluster_chash"
protocol = "https"
max_fails = 10
fail_timeout = "10s"
}
Schema
Required
domain
(String) UUID or the name of the domain.next_upstream_codes
(Map of List of Number)
Optional
fail_timeout
(String)keepalive
(String)max_fails
(Number)method
(String)next_upstream_tcp
(String)protocol
(String)
Read-Only
last_updated
(String) Timestamp of the last Terraform update of the domain.
Import
Import is supported using the following syntax:
terraform import arvancloud_cdn_domain_load_balancer_settings.example cdn-terraform.ir