-
Notifications
You must be signed in to change notification settings - Fork 160
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
Constant diff on tfe_registry_module
with v0.51.1
#1216
Comments
We are seeing the same issue for our org. Downgrading to |
Downgrading to |
Hi @brianpham We were able to fix this by adding the organisation argument to the tfe_registry_module resource block. As it states in the docs, if you have module_providev specified or vcs_repo is used via a GitHub App you must have the organisation argument set. Hope this helps |
Hi! Great to "bump" into this issue here! :) Noticed also this changed behaviour ; I had to do two things (using the latest provider version 0.52.0):
And, we're not (still yet) using a GitHub app for GitHub access but the "old-school" OAuth. Hmm. Interesting. |
Terraform Cloud/Enterprise version
Terraform Cloud
Terraform version
Terraform Configuration Files
Debug Output
Expected Behavior
No diff when resource is up-to-date
Actual Behavior
Resources were stuck in a cycle of being destroyed and created again because of a diff in the
vcs_repo
block.Additional Context
We are using tag-based publishing for modules.
I also tried using the config
but this continued to show a diff and try to re-create the resources.
It appears this was introduced by #1096. Downgrading to
v0.50.0
resolves the issue.The text was updated successfully, but these errors were encountered: