-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
get -update doesn't update from non-master branches #1568
Comments
I don't see this being problem in case of git tags used as versions as these will not likely ever be updated. In fact, you can't actually update a tag in any clean way, it's just a pointer to git hash which won't be pointing anywhere else unless you In case of real branches, it is an issue though. |
+1 |
+1 |
1 similar comment
+1 |
please do fix this |
+1 |
Is there any ETA for this issue? |
+1 |
1 similar comment
+1 |
+1 for this, the issue still exists in Workaround for an upgrade-like experience (clean and re-clone)
|
Working on this now |
Fix is in PR, will be fixed in the next release of TF |
@mitchellh great, thanks for your work, very much appreciated! When is the next release of TF scheduled? |
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. |
I'm using git remote modules (hosted in a private repo on GitHub) and specifying a branch other than master. However, it seems when using a branch other than master, modules are not updated when I run
get -update
. If modules are pulled frommaster
, then they're updated fine.Using
v0.4.2
...Steps to reproduce
get
andplan
to see changes you expect.?ref=branch1
.get -update
andplan
. Your should not see the changes you expect.If it matters the source URL I'm using is in the form
git::ssh://[email protected]/org/repo-modules.git//module1?ref=branch1
.Updated with Terraform version.
The text was updated successfully, but these errors were encountered: