-
Notifications
You must be signed in to change notification settings - Fork 626
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
Imported cloudflare_records don't have their content available, misleading plan is generated #4280
Comments
Terraform debug log detected ✅ |
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Was not able to reproduce with v5 alpha, the same configuration generated a crash instead. Probably a different bug, since I don't even see any API requests in the log output: https://gist.github.com/nightpool/9dff9062ffdf69c558fc0507f5c88af3 |
Is this related to the deprecation of the I think. This was using v4.44.0. Untested but changelogs related to v4.40.0 do suggest a mixup in how the deprecation was handled. |
Also, the BUT the current v5 still has the In short, do NOT use v5 for production as there are other things not present and it IS an alpha release. So subject to almost 100% change! |
I'm running into this as well. Pinning to provider version |
I tried with
I would have liked to see a change on EDIT: I used Atm I use |
@MiticoBerna I have a large number of records to import so I'm trying to generate clean plans to verify my definitions are correct. It seems like I'll need a 2 step process to import with no diff and avoid drift on subsequent plans?
|
I tried with
I just set the version to |
This has worked for me. Thanks @mikealbert Import with pinned provider at 4.39 and record using value |
We were experiencing the same issue and the solution above worked for us as well.
|
Confirmation
Terraform and Cloudflare provider version
Affected resource(s)
cloudflare_record
Terraform configuration files
Link to debug output
https://gist.githubusercontent.com/nightpool/4ec2e14cb876b26afd3cff8e64dd74d8/raw/ee0dd8c5ecd9c883e2fdeed8335873f4e9653500/tf%2520debug%2520log
Panic output
No response
Expected output
Plan should show that
content
is unchanged, or it should show the change incontent
if one existsActual output
content
is unconditionally marked as added, not (changed/unchanged), even when the content of the record is identical in the API:Steps to reproduce
content
is marked as added, not changedAdditional factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: