-
Notifications
You must be signed in to change notification settings - Fork 631
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
Updates to cloudflare_record resources don't work when using deprecated value field #3890
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Sorry, just noticed the debug logs are from 4.39.0 as I was testing which previous versions were also affected. If you would like me to attach logs from 4.40.0 I can do that, but the bug absolutely still exists in that version. |
this is already fixed by #3776 and will be released with the next mainline release based on https://github.com/cloudflare/terraform-provider-cloudflare/blob/master/contributing/release-process.md if you want to use the fix immediately, you can build a custom version following the docs at https://github.com/cloudflare/terraform-provider-cloudflare/blob/master/contributing/using-non-released-versions.md |
Right, I'm just surprised this isn't deemed as needing a hotfix. The two latest versions out there right now won't update DNS records values if you were using the previously accepted |
Confirmation
Terraform and Cloudflare provider version
4.39.0 and 4.40.0 both exhibit this behaviour
Affected resource(s)
cloudflare_record
Terraform configuration files
Link to debug output
https://gist.github.com/zackpollard/85c3a4922e9d5221b12dcbd61749a147
Panic output
No crash
Expected output
The dns record to change in cloudflare.
Actual output
The dns record value remains unchanged, terraform completes successfully and without manual inspection you wouldn't know what had happened.
Steps to reproduce
Additional factoids
It looks like this may be fixed in main, but not yet released (link included in references). I would like to request a new provider is released ASAP. The current behavior where the value field that was the recommended method up to two releases ago, silently fails to update, is very scary. I'm surprised a bugfix version wasn't immediately released, this could be breaking production deployments all over the place without people realising what is going on.
References
e4e87a2
The text was updated successfully, but these errors were encountered: