-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
terraform init blanks files #7238
Comments
Hi @agonzalezro! This sounds like a nasty bug or mismatched documentation. I'll need to look into how this is implemented, but I would tend to agree that the quoted paragraph implies that files which are not in conflict should remain untouched. |
I was lucky that I run it in my |
core: Don't try to copy files over themselves
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Terraform Version
Affected Resource(s)
Expected Behavior
From
terraform init
documentation:Actual Behavior
If you check the second paragraph that I mentioned earlier it shouldn't blank any file that doesn't conflict. Or at least this is what I understand from reading it.
Steps to Reproduce
If I run the
init
from outside the folder it doesn't blank the files.The text was updated successfully, but these errors were encountered: