-
Notifications
You must be signed in to change notification settings - Fork 599
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
Issue updating domains list for cloudflare_turnstile_widget #4217
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Thank you for reporting this issue! For maintainers to dig into issues it is required that all issues include the entirety of This issue has been marked with |
Confirmation
Terraform and Cloudflare provider version
Terraform: 1.5.7
Provider: 4.43.0
Affected resource(s)
cloudflare_turnstile_widget
Terraform configuration files
Link to debug output
github.com/hashicorp/[email protected]/tfprotov6/internal/diag/diagnostics.go:58
Panic output
│ Error: Error reading challenge widget
│
│ with cloudflare_turnstile_widget.ex,
│ on cf-tmp.tf line 1, in resource "cloudflare_turnstile_widget" "ex":
│ 1: resource "cloudflare_turnstile_widget" "ex" {
│
│ error from makeRequest: json: unknown field "region"
Expected output
cloudflare_turnstile_widget.ex will be updated in-place
~ resource "cloudflare_turnstile_widget" "ex" {
~ domains = [
- "mydomain2.org",
# (5 unchanged elements hidden)
]
id = "myaccountit"
name = "TFwidget"
~ secret = (sensitive value)
# (5 unchanged attributes hidden)
}
Actual output
│ Error: Error reading challenge widget
│
│ with cloudflare_turnstile_widget.ex,
│ on cf-tmp.tf line 1, in resource "cloudflare_turnstile_widget" "ex":
│ 1: resource "cloudflare_turnstile_widget" "ex" {
│
│ error from makeRequest: json: unknown field "region"
Steps to reproduce
im using provider version
"4.43.0"
im creating a turnstile widget
it creates the resource the first time just fine, but if i try to add or remove "domains" it breaks with this error:
what i tried:
its the same error each time... anyone have an idea?
Additional factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: