Open RavinderReddyF5 opened 4 years ago
Comment by dannyk81 Friday Mar 22, 2019 at 20:50 GMT
I don't think this will work now that this provider switched to Go modules.
/cc @appilon
Comment by scshitole Friday Mar 22, 2019 at 20:54 GMT
@dannyk81 does that means I dont need to do vendor update ? what are the steps?
Comment by appilon Friday Mar 22, 2019 at 21:10 GMT
We now use Go Modules for dependency management. We do however still commit the dependencies to the vendor/
folder. If you want to update a particular dependency run
$ GO111MODULE=on go get github.com/some/module@version
$ GO111MODULE=on go mod tidy
$ GO111MODULE=on go mod vendor
This will update the dependency, pin any transitive dependencies to their correct versions, cleanup any thing possible (tidy) and copy the files into the vendor/
folder. You will no longer use dep
.
Comment by scshitole Friday Mar 22, 2019 at 23:38 GMT
@appilon I need to get update from https://github.com/f5devcentral/go-bigip so it will look like this ?
$ GO111MODULE=on go get github.com/f5devcentral/go-bigip/module@version
$ GO111MODULE=on go mod tidy
$ GO111MODULE=on go mod vendor
what is module@version be ?
Issue by scshitole Friday Mar 22, 2019 at 19:34 GMT Originally opened as https://github.com/terraform-providers/terraform-provider-bigip/pull/70
scshitole included the following code: https://github.com/terraform-providers/terraform-provider-bigip/pull/70/commits