cloudflare_bot_management (Resource)

Provides a resource to configure Bot Management.

Specifically, this resource can be used to manage:

Example Usage

resource "cloudflare_bot_management" "example" {
  zone_id                         = "0da42c8d2132a9ddaf714f9e7c920711"
  enable_js                       = true
  sbfm_definitely_automated       = "block"
  sbfm_likely_automated           = "managed_challenge"
  sbfm_verified_bots              = "allow"
  sbfm_static_resource_protection = false
  optimize_wordpress              = true
}

Schema

Required

Optional

Read-Only

Import

Import is supported using the following syntax:

$ terraform import cloudflare_bot_management.example <zone_id>