arvancloud_cdn_domain_firewall (Resource)
Domain's Firewall settings.
Example Usage
resource "arvancloud_cdn_domain_firewall" "example" {
domain = "cdn-terraform.ir"
action = "bypass"
action_details = {
bypass = {
challenge = true
waf = true
rlimit = false
}
}
}
Schema
Required
action
(String) Firewall default action.action_details
(Attributes) (see below for nested schema)domain
(String) UUID or the name of the domain.
Optional
verify_sni
(Boolean) Firewall Verify SNI
Read-Only
is_enabled
(Boolean) Whether the Firewall is active or not.last_updated
(String) Timestamp of the last Terraform update of the domain.
Nested Schema for action_details
Optional:
bypass
(Attributes) (see below for nested schema)challenge
(Attributes) (see below for nested schema)
Nested Schema for action_details.bypass
Required:
challenge
(Boolean)rlimit
(Boolean)waf
(Boolean)
Nested Schema for action_details.challenge
Required:
https_only
(Boolean)mode
(Number)ttl
(Number)
Import
Import is supported using the following syntax:
terraform import arvancloud_cdn_domain_firewall.example cdn-terraform.ir