-
Notifications
You must be signed in to change notification settings - Fork 636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
terraform cloudflare_turnstile_widget Error reading challenge widget when offlabel=true #3093
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Terraform debug log detected ✅ |
Can you set true instead of "true" in the terraform config? |
It's not related to the |
Hello, have you find any workaround? I am getting the same error no matter what arguments I combine. I am using enterprise version. EDIT: |
This functionality has been released in v4.32.0 of the Terraform Cloudflare Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
Confirmation
Terraform and Cloudflare provider version
Terraform v1.7.1
Provider cloudflare/cloudflare v4.16.0 and v4.23.0
Affected resource(s)
cloudflare_turnstile_widget
Terraform configuration files
Link to debug output
https://gist.github.com/MagonBC/6b05a7006e792f9a59e0db31bde5da6f
Panic output
No response
Expected output
Terraform will perform the following actions:
cloudflare_turnstile_widget.main will be updated in-place
~ resource "cloudflare_turnstile_widget" "main" {
~ bot_fight_mode = false -> (known after apply)
id = "0xthesite_key"
name = "Example Widget"
~ offlabel = false -> true
~ region = "world" -> (known after apply)
~ secret = (sensitive value)
# (3 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
cloudflare_turnstile_widget.main: Modifying... [id=thesite_key]
cloudflare_turnstile_widget.main: Modifications complete after 1s [id=thesite_key]
Actual output
╷
│ Error: Error reading challenge widget
│
│ with cloudflare_turnstile_widget.main,
│ on main.tf line 1, in resource "cloudflare_turnstile_widget" "main":
│ 1: resource "cloudflare_turnstile_widget" "main" {
│
│ required site key missing
╵
Steps to reproduce
With Turnstile Widget license free: (https://www.cloudflare.com/products/turnstile/)
With Enterprise License:
Additional factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: