The Terraform NeuVector provider is a plugin that allows Terraform to manage the installation and maintenance of SUSE NeuVector on any Kubernetes cluster.
To find out which version of the tools above was used to build the provider in the repository, look at this file.
git clone git@github.com:<YOUR-GITHUB-USERNAME>/terraform-provider-neuvector.git
cd terraform-provider-neuvector
sed -i '' "s@github.com/glovecchi0/terraform-provider-neuvector/neuvector@github.com/<YOUR-GITHUB-USERNAME>/terraform-provider-neuvector/neuvector@g" main.go
export GOPRIVATE=github.com/<YOUR-GITHUB-USERNAME>
export GIT_TERMINAL_PROMPT=1
export GITHUB_TOKEN=<YOUR-PERSONAL-ACCESS-TOKEN>
go mod init github.com/<YOUR-GITHUB-USERNAME>/terraform-provider-neuvector
go mod tidy
go build -o terraform-provider-neuvector_v<VERSION>
$ pwd
~/terraform-provider-neuvector
mkdir -p ~/.terraform.d/plugins/registry.terraform.io/local/neuvector/<VERSION>/darwin_arm64
cp terraform-provider-neuvector_v<VERSION> ~/.terraform.d/plugins/registry.terraform.io/local/neuvector/<VERSION>/darwin_arm64/
chmod +x ~/.terraform.d/plugins/registry.terraform.io/local/neuvector/<VERSION>/darwin_arm64/terraform-provider-neuvector_v<VERSION>
cd tf-projects/example/