-
Notifications
You must be signed in to change notification settings - Fork 625
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
Unnecessary diff for Tags on cloudflare_record #2896
Comments
If you really need debug output I can attempt it, but it's a bit more effort in our CI/CD setup. Edit: Okay I've provided a debug file, hopefully redacting everything sensitive. Not a huge fan of having to provide all of this since it can contain quite a bit of information of our internal DNS setup... |
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Terraform debug log detected ✅ |
the drift here comes from the use of running a normal |
Confirmation
Terraform and Cloudflare provider version
Terraform Version: 1.6.2
Cloudflare Provider version: 4.17.0
Affected resource(s)
cloudflare_record
Terraform configuration files
Link to debug output
https://gist.github.com/leosunmo/14cb01727954795c0daf379ff85878b2
Panic output
No response
Expected output
No changes to infrastructure
Actual output
Steps to reproduce
terraform plan --refresh-only
Additional factoids
I didn't spend too much time in the code, neither am I particularly familiar with the Terraform Provider framework.
My 5 minute-effort guess is that the Provider is creating the record with a nil tag slice, but is getting an empty slice in response when doing the read.
I did a quick sanity check in the playground to make sure it even made sense: https://go.dev/play/p/VG8GZH68Fc8
As I said, not super familiar, and didn't modify the code to test if setting the slice to empty would change anything.
References
No response
The text was updated successfully, but these errors were encountered: