Turnstile
TurnstileWidgets
resource cloudflare_turnstile_widget
required
optional
bot_fight_mode?: Bool
If bot_fight_mode is set to true, Cloudflare issues computationally
expensive challenges in response to malicious bots (ENT only).
computed
deployed_via: String
Origin that created this widget, recorded at creation time and immutable afterward. Server-derived from the create request; not client-settable. Omitted from the response for widgets created before this field existed.
cloudflare_turnstile_widget
resource "cloudflare_turnstile_widget" "example_turnstile_widget" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
domains = ["203.0.113.1", "cloudflare.com", "blog.example.com"]
mode = "invisible"
name = "blog.cloudflare.com login form"
bot_fight_mode = false
clearance_level = "interactive"
ephemeral_id = false
offlabel = false
region = "world"
}