This is the repository for the Terraform NSV Provider, which one can use with
Terraform to work with VMware NSX-V.
For general information about Terraform, visit the official
website and the GitHub project page.
Documentation on the NSX platform can be found at the NSX-V Documentation page
Using the Provider
This provider is tested only on Terraform 0.11.x and 0.12.x.
Building the provider
In order to reduce the security risk build this provider using the latest version of golang.
You may also need to upgrade the version of required modules in go.mod and regenerate the go.sum for any security issues.
This provider depends on govnsx. You would have to first update the
govnsx to get the latest security fixes for govnsx before rebuilding the provider.
For more details on how to rebuild govnsx see govnsx readme file
Steps to rebuild this provider
Before rebuilding this, you should rebuild govnsx.
- export GOPATH=<YOUR_GO_PATH>
- export GO_BIN_LOCATION=<YOUR_GO_BIN_PATH>
- export NSXV_VERSION=v1.0.2
- mkdir -p $GOPATH/src/github.com/IBM-tfproviders
- git clone -b $NSXV_VERSION https://github.com/IBM-tfproviders/terraform-provider-nsxv
- cd $GOPATH/src/github.com/IBM-tfproviders/terraform-provider-nsxv
- $GO_BIN_LOCATION/go mod tidy
- $GO_BIN_LOCATION/go install