cloudflare_device_dex_test (Resource)

Provides a Cloudflare Device Dex Test resource. Device Dex Tests allow for building location-aware device settings policies.

Example Usage

resource "cloudflare_device_dex_test" "example" {
  account_id  = "f037e56e89293a057740de681ac9abbe"
  name        = "GET homepage"
  description = "Send a HTTP GET request to the home endpoint every half hour."
  interval    = "0h30m0s"
  enabled     = true
  data {
    host   = "https://example.com/home"
    kind   = "http"
    method = "GET"
  }
}

Schema

Required

Read-Only

Nested Schema for data

Required:

Optional:

Import

Import is supported using the following syntax:

$ terraform import cloudflare_device_dex_test.example <account_id>/<device_dex_test_id>