-
Notifications
You must be signed in to change notification settings - Fork 624
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
data {
attributes being deleted from MX records?
#3965
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Thank you for reporting this issue! For maintainers to dig into issues it is required that all issues include the entirety of This issue has been marked with |
There is no version to which I could backport to address the concern and the comment #3965 (comment) is correct about having to still have priority outside and then inside the data block (outside as a string and inside as a number) in order for plans to converge successfully without change. So, to my mind, the actionable item here is why make us double tap on a field when it is known it must move under the data block? Considering that version backporting failed, I am left to assume Cloudflare implemented breaking API change here. |
this was an unintentional change on the service that lead to https://www.cloudflarestatus.com/incidents/79h1kvybmthk. this wasn't a change in the provider so you should be fine to re-run these and have the state rectified to the correct values again. |
I just performed another plan and am still seeing the removal of the data block:
@jacobbednarz Are you saying we should apply this to reconcile things again? |
yes - a plan does not update the state so that is expected not to do anything. you need to run the apply for the state to be reconciled. |
To close the loop, as of this morning a plan no longer shows the removal of the data block. I didn't have to do anything. |
Confirmation
Terraform and Cloudflare provider version
(Note that it does reproduce on v4.41.0, but I am not readily able to upgrade to that as it deprecates
value
, and I need to change literally everyresource
to account for that.)Affected resource(s)
cloudflare_record
Terraform configuration files
Link to debug output
https://example.com
Panic output
No response
Expected output
No changes to plan.
Actual output
We get a plan, where nothing has changed. See below.
Steps to reproduce
We changed nothing. This record was already applied, and plans were generating "no changes" until recently. As we've also not upgraded the provider, this implies that CF's API responses have changed in a way that affects the TF provider.
This first showed up as:
Applying this is harmless (the record does not change), but the plan never converges.
I tried changing the resource to be,
Figuring that, since I think that's closer to the format the API uses, maybe that'd make the provider happier. That still results in a plan:
Again, a no-op but non-converging plan.
This:
Works (the plan immediately converges), but is ugly; I shouldn't need to specify
priority
twice like that.Additional factoids
No response
References
This smells similar to #3348
The text was updated successfully, but these errors were encountered: