cloudflare_turnstile_widget (Resource)

The Turnstile Widget resource allows you to manage Cloudflare Turnstile Widgets.

Example Usage

resource "cloudflare_turnstile_widget" "example" {
  account_id     = "f037e56e89293a057740de681ac9abbe"
  name           = "example widget"
  bot_fight_mode = false
  domains        = ["example.com"]
  mode           = "invisible"
  region         = "world"
}

Schema

Required

Optional

Read-Only

Import

Import is supported using the following syntax:

$ terraform import cloudflare_turnstile_widget.example <account_id>/<site_key>