arvancloud_cdn_domain_ddos_rule (Resource)
Domain's DDoS Rule.
Example Usage
resource "arvancloud_cdn_domain_ddos_rule" "one" {
domain = "cdn-terraform.ir"
url_pattern = "from-terraform-1"
is_enabled = true
sources = [
"1.2.3.6/32",
"2.2.3.6/32",
]
action = "passthrough"
}
resource "arvancloud_cdn_domain_ddos_rule" "two" {
domain = "cdn-terraform.ir"
url_pattern = "from-terraform-2"
is_enabled = true
sources = [
"1.2.3.5/32",
"2.2.3.56/32",
]
action = "passthrough"
description = "For a single goal"
}
Schema
Required
action
(String)domain
(String) UUID or the name of the domain.is_enabled
(Boolean)sources
(List of String)url_pattern
(String) Glob pattern of the rule.