Provides a resource for managing Email Routing Addresses catch all behaviour.
resource "cloudflare_email_routing_catch_all" "example" {
zone_id = "0da42c8d2132a9ddaf714f9e7c920711"
name = "example catch all"
enabled = true
matcher {
type = "all"
}
action {
type = "forward"
value = ["destinationaddress@example.net"]
}
}
action
(Block Set, Min: 1) List actions patterns. (see below for nested schema)matcher
(Block Set, Min: 1) Matching patterns to forward to your actions. (see below for nested schema)name
(String) Routing rule name.zone_id
(String) The zone identifier to target for the resource.enabled
(Boolean) Routing rule status.id
(String) The ID of this resource.tag
(String) Routing rule identifier.action
Required:
type
(String) Type of supported action. Available values: drop
, forward
, worker
.value
(List of String) A list with items in the following form.matcher
Required:
type
(String) Type of matcher. Available values: all
.