How to update vendor folder for https://github.com/hashicorp/terraform.git for terraform

Hi, I am following the steps outlined for hashicorp / terraform and following below.

# Get latest master branch dependencies staged in local $GOPATH git checkout master git pull godep restore -v # Make your way to the dependency in question and checkout the target ref pushd $GOPATH/src/github.com/some/dependency git checkout [latest] # Head back to Terraform on a feature branch and update the dependncy to the # version currently in your $GOPATH popd git checkout my-feature-branch godep update github.com/... 

after that I see that the Godep.json file has been updated, but I do not see the changes in the provider folder. he still points to the old. Well, I am looking for emr support from the provider, because I am updating go-aws-sdk, which is available with the latest go-aws-sdk. when i called go update github.com / ... it changed the godep.json file but not the vendor folder. Can someone please let me know the reason. Thanks

+6
source share
1 answer

You must do godep restore -v again. update only updates the dependency in the Godep.json file.

+1
source

All Articles