terraform-provider-harness

command module
v0.31.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

README

Harness Terraform Provider

The Terraform provider for Harness is a plugin that allows you to manage resources in Harness CD.

Support

If you have any questions please open a new issue or join our slack channel.

Quick Starts

Requirements

Documentation

Full, comprehensive documentation is available on the Terraform website:

https://registry.terraform.io/providers/harness/harness/latest/docs

Building and Testing Locally

  1. Clone the repo into your local directory. Run git clone https://github.com/harness/terraform-provider-harness.git
  2. Run go mod tidy
  3. Run go build -o terraform-provider-harness
  4. Create a file called local.sh in the root directory of the repository and copy the following script to the bash file
#!/bin/sh

version=0.40.2 #specify in this format 
source=registry.terraform.io/harness/harnessregistry.terraform.io/harness/harness
platform=darwin_amd64

mkdir -p ~/.terraform.d/plugins/$source/$version/$platform/

cp terraform-provider-harness ~/.terraform.d/plugins/$source/$version/$platform/terraform-provider-harness
  1. Run the Bash Script ./local.sh

Note: Please make sure the terraform provider version matches the version in the script

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL