-
Notifications
You must be signed in to change notification settings - Fork 59
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
Cheksum is recalculated every time even without any change #198
Comments
@headyj this appears to be a remote Workspace that is pulling from git and the git repo has changed? Maybe we should ignore the .git directory in the checksum calculation, as was suggested for the local plugins directory when the plugin cache is not used. I assume that the selected branch has not changed or there would be other deltas to trigger the terraform init, and it's just the repo metadata that has changed because of changes in other branches. Thoughts @ytsarev ? |
Yes it's a remote source from git. The selected branch is actually a tag and hasn't changed. My concern is also about the lineage on the state which is different for any reason. |
I did some further tests and I think that ignoring the .git directory should do the trick:
I guess the lineage differs because of the terraform init? |
@bobh66 Unfortunately the problem seems to be still present in v0.12.0:
I don't know why the lineage still differs, as nothing is changing and the provider is doing reconciliation at each poll (5 minutes by default) |
@bobh66 any news about this? this issue is closed but doesn't seems to be solved |
Hello,
For any reason, the implementation of the checksum to avoid terraform init doesn't seems to work (#81)
Even if nothing has changed, I have this kind of logs for all my workspaces every 5 minutes or so. If I get both folders and do a manual diff on my computer, it seems related to .git folder, but also on the lineage of the tfstate:
The text was updated successfully, but these errors were encountered: