Interested in contributing to Spinnaker? Please help us!
Clone the repository to a directory outside of your GOPATH:
$ git clone https://github.com/mercari/terraform-provider-spinnakerAfterward, use go build to build the program. This will automatically fetch dependencies.
$ go buildUpon first build, you may see output while the go tool fetches dependencies.
To verify dependencies match checksums under go.sum, run go mod verify.
To clean up any old, unused go.mod or go.sum lines, run go mod tidy.
Create a provider.tf.
provider "spinnaker" {
gate_endpoint = "https://spinnaker-api.xxx.com"
}Build this provider.
$ go buildThen run the Terraform operations.
$ terraform initTest the provider by
go test -v ./...