You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
I just spent longer than required debugging why a test was consistently failing with the following exception for a co-worker.
testing.go:705: Step 0 error: errors during apply:
Error: Provider produced inconsistent result after apply
When applying changes to cloudflare_teams_account.ocxknckonr, provider
"cloudflare" produced an unexpected new value for was present, but now absent.
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
The smoking gun for me here was that the state wasn't being saved and through experience I have a few ways to dig into that however my co-worker hasn't come across this before.
Eventually I found the missing d.SetId() which was the cause of why Terraform couldn't find the state to compare it to.
Community Note
Description
I just spent longer than required debugging why a test was consistently failing with the following exception for a co-worker.
The smoking gun for me here was that the state wasn't being saved and through experience I have a few ways to dig into that however my co-worker hasn't come across this before.
Eventually I found the missing
d.SetId()
which was the cause of why Terraform couldn't find the state to compare it to.New or Affected Checks(s)
Flagged Provider Code
Passing Provider Code
References
n/a
The text was updated successfully, but these errors were encountered: