Skip to content
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

cloudflare_turnstile_widget missing clearance_level #4126

Closed
3 tasks done
kamranayub opened this issue Sep 25, 2024 · 3 comments
Closed
3 tasks done

cloudflare_turnstile_widget missing clearance_level #4126

kamranayub opened this issue Sep 25, 2024 · 3 comments
Labels
kind/support Categorizes issue or PR as related to user support.

Comments

@kamranayub
Copy link

kamranayub commented Sep 25, 2024

Confirmation

  • This is a bug with an existing resource and is not a feature request or enhancement. Feature requests should be submitted with Cloudflare Support or your account team.
  • I have searched the issue tracker and my issue isn't already found.
  • I have replicated my issue using the latest version of the provider and it is still present.

Terraform and Cloudflare provider version

OpenTofu v1.8.2
cloudflare/cloudflare v4.42.0

Affected resource(s)

cloudflare_turnstile_widget

Terraform configuration files

resource "cloudflare_turnstile_widget" "example" {
    account_id      = var.cloudflare_account_id
    name            = "Example Widget"
    domains         = ["mydomain.com"]
    mode            = "managed"
    clearance_level = "managed"
}

Link to debug output

https://gist.github.com/kamranayub/e5455d8dfcdfd397a3d31378a4b505ca

Panic output

No response

Expected output

clearance_level should be set

Actual output

╷
│ Error: Unsupported argument
│ 
│   on cloudflare.tf line 56, in resource "cloudflare_turnstile_widget" "ktomg_signup":
│   56:     clearance_level = "managed"
│ 
│ An argument named "clearance_level" is not expected here.

Steps to reproduce

Try to add a turnstile widget with clearance_level set

Additional factoids

This is available in 5.0 alpha, but not 4.x. Considering we are not supposed to upgrade for production workloads, there's no workaround for 4.x users.

References

@kamranayub kamranayub added kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Sep 25, 2024
Copy link
Contributor

github-actions bot commented Sep 25, 2024

Terraform debug log detected ✅

@github-actions github-actions bot added triage/needs-information Indicates an issue needs more information in order to work on it. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Sep 25, 2024
Copy link
Contributor

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@github-actions github-actions bot added triage/debug-log-attached Indicates an issue or PR has a complete Terraform debug log. and removed triage/needs-information Indicates an issue needs more information in order to work on it. labels Sep 25, 2024
@jacobbednarz
Copy link
Member

as this is a feature request, i'm going to close it off here and pass it internally to the team to triage as part of their backlog. if they deem they will do it before v5 stabilises, they will raise a PR with the support.

@jacobbednarz jacobbednarz closed this as not planned Won't fix, can't repro, duplicate, stale Sep 26, 2024
@jacobbednarz jacobbednarz added kind/support Categorizes issue or PR as related to user support. and removed kind/bug Categorizes issue or PR as related to a bug. triage/debug-log-attached Indicates an issue or PR has a complete Terraform debug log. labels Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as related to user support.
Projects
None yet
Development

No branches or pull requests

2 participants