-
Notifications
You must be signed in to change notification settings - Fork 641
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_ruleset produced inconsistent result for preserve_query_string #2408
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
thanks for the issue and reproduction case here. this is partially caused by the underlying Go library so i've addressed that in cloudflare/cloudflare-go#1275 and will push up the provider fix once i resolve some local development issues i'm having. |
@jacobbednarz I am getting a very similar error but in my case the error starts when I add a "skip" rule to my cloudflare. I see your cloudflare-go change is merged. Should I just ignore this message until the next cloudflare-go release (which based on previous cadence should be in the next couple of weeks)? The skip rule is created - it just appears to be a problem recording the terraform state thereof. |
@cnk if you're hitting this specific issue (same field names, error messages, etc) you can follow along here and it will note once it is released and ready to be updated to. otherwise, if you're getting a different issue, i'd recommend opening an issue specific to your setup/output to have it triaged as it may be something different and i can only speculate at this point. |
… be nullable Updates the `FromValue.PreserveQueryString` handling in the request + state handler to use the changes from cloudflare/cloudflare-go#1275 and allows conditional handling of null in resources. Closes #2408
… be nullable Updates the `FromValue.PreserveQueryString` handling in the request + state handler to use the changes from cloudflare/cloudflare-go#1275 and allows conditional handling of null in resources. Closes #2408
This functionality has been released in v4.6.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.3.5
on darwin_arm64
Affected resource(s)
cloudflare_ruleset
Terraform configuration files
Link to debug output
https://gist.github.com/florianmutter/86feee086b4319fecce056e6e26aa341
Panic output
No response
Expected output
No changes for resource.
Actual output
Error: Provider produced inconsistent result after apply
When applying changes to cloudflare_ruleset.stylebop_com_redirect_rules, provider "provider["registry.terraform.io/cloudflare/cloudflare"]" produced an unexpected new value: .rules[0].action_parameters[0].from_value[0].preserve_query_string: was null, but now cty.False.
Steps to reproduce
terraform apply
Additional factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: