Skip to content
Start here

Configs

resource cloudflare_magic_network_monitoring_configuration

required Expand Collapse
account_id: String
name: String

The account name.

optional Expand Collapse
router_ips?: List[String]
warp_devices?: List[Attributes]
id: String

Unique identifier for the warp device.

name: String

Name of the warp device.

router_ip: String

IPv4 CIDR of the router sourcing flow data associated with this warp device. Only /32 addresses are currently supported.

default_sampling?: Float64

Fallback sampling rate of flow messages being sent in packets per second. This should match the packet sampling rate configured on the router.

cloudflare_magic_network_monitoring_configuration

resource "cloudflare_magic_network_monitoring_configuration" "example_magic_network_monitoring_configuration" {
  account_id = "6f91088a406011ed95aed352566e8d4c"
  default_sampling = 1
  name = "cloudflare user\'s account"
  router_ips = ["203.0.113.1"]
  warp_devices = [{
    id = "5360368d-b351-4791-abe1-93550dabd351"
    name = "My warp device"
    router_ip = "203.0.113.1"
  }]
}

data cloudflare_magic_network_monitoring_configuration

required Expand Collapse
account_id: String
computed Expand Collapse
default_sampling: Float64

Fallback sampling rate of flow messages being sent in packets per second. This should match the packet sampling rate configured on the router.

name: String

The account name.

router_ips: List[String]
warp_devices: List[Attributes]
id: String

Unique identifier for the warp device.

name: String

Name of the warp device.

router_ip: String

IPv4 CIDR of the router sourcing flow data associated with this warp device. Only /32 addresses are currently supported.

cloudflare_magic_network_monitoring_configuration

data "cloudflare_magic_network_monitoring_configuration" "example_magic_network_monitoring_configuration" {
  account_id = "6f91088a406011ed95aed352566e8d4c"
}