Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.52 KB

File metadata and controls

51 lines (36 loc) · 1.52 KB

VMware Tanzu Mission Control

Building the Terraform Provider for VMware Tanzu Mission Control

The instructions outlined below are specific to macOS and Linux only.

If you wish to work on the provider, you'll first need Go installed on your machine. Check the requirements before proceeding.

  1. Clone the repository to: $GOPATH/src/github.com/vmware/terraform-provider-tanzu-mission-control

    mkdir -p $GOPATH/src/github.com/vmware
    cd $GOPATH/src/github.com/vmware
    git clone [email protected]:vmware/terraform-provider-tanzu-mission-control.git
  2. Enter the provider directory to build the provider.

    cd $GOPATH/src/github.com/vmware/terraform-provider-tanzu-mission-control
    go get
    go build -o terraform-provider-tanzu-mission-control
  3. Add the following to your ~/.terraformrc:

    provider_installation {
      dev_overrides {
        "vmware/tanzu-mission-control" = "/Users/rainpole/go/bin"
      }
    
      direct {}
    }

    Where /Users/rainpole/go/bin is your GOPATH/bin path.

  4. Run go install to install the development binary.