Page Rules
resource cloudflare_page_rule
optional
priority?: Int64
The priority of the rule, used to define which Page Rule is processed
over another. A higher number indicates a higher priority. For example,
if you have a catch-all Page Rule (rule A: /images/*) but want a more
specific Page Rule to take precedence (rule B: /images/special/*),
specify a higher priority for rule B so it overrides rule A.
cloudflare_page_rule
resource "cloudflare_page_rule" "example_page_rule" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
priority = 0
status = "active"
}
data cloudflare_page_rule
computed
priority: Int64
The priority of the rule, used to define which Page Rule is processed
over another. A higher number indicates a higher priority. For example,
if you have a catch-all Page Rule (rule A: /images/*) but want a more
specific Page Rule to take precedence (rule B: /images/special/*),
specify a higher priority for rule B so it overrides rule A.
cloudflare_page_rule
data "cloudflare_page_rule" "example_page_rule" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
pagerule_id = "023e105f4ecef8ad9ca31a8372d0c353"
}