-
Notifications
You must be signed in to change notification settings - Fork 617
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
'invalid JSON: unknown field "id"' when updating Cloudflare Managed rulesets #3916
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Terraform debug log detected ✅ |
please include the TF_LOG=DEBUG output, not the terraform operation output to help triaging this one. |
Apologies @jacobbednarz , I have updated the link to the correct gist |
Do you still see the issue? |
Just noting that there is still an issue. Not sure that I know enough about the cloudflare API to say whether this is a provider issue or an API issue, but if it's a provider issue I'm happy to contribute if you can provide some direction. Thanks! |
not working '# Exposed Credentials Check Ruleset rules {
} │ Error: error updating ruleset with ID "0969d7667a314e40ae97d133ba5b1e52" working '# Exposed Credentials Check Ruleset
} cloudflare_ruleset.zone_level_managed_waf: Modifying... [id=0969d7667a314e40ae97d133ba5b1e52] Apply complete! Resources: 0 added, 1 changed, 0 destroyed. <------------------ It returns " invalid JSON: unknown field id" if action is not "execute". |
Confirmation
Terraform and Cloudflare provider version
Affected resource(s)
Terraform configuration files
Link to debug output
https://gist.github.com/codybswaney/af7d334b87eebdb71abbcb881e1ae8c1
Panic output
No response
Expected output
I expected the plan which sets execute to log and enables the three managed rulesets to succeed.
Actual output
Apply fails with
invalid JSON: unknown field "id"
Steps to reproduce
http_request_firewall_managed
log
action levelAdditional factoids
No response
References
Following the guide at https://developers.cloudflare.com/terraform/additional-configurations/waf-managed-rulesets/
The text was updated successfully, but these errors were encountered: