Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.64 KB

CONTRIBUTING.md

File metadata and controls

37 lines (25 loc) · 1.64 KB

Developing the Provider

Thank you for your interest in contributing to the Helm provider. We welcome your contributions. Here you'll find information to help you get started with provider development.

Documentation

Our provider development documentation provides a good start into developing an understanding of provider development. It's the best entry point if you are new to contributing to this provider.

To learn more about how to create issues and pull requests in this repository, and what happens after they are created, you may refer to the resources below:

Installation from sources

If you wish to compile the provider from source code, you'll first need Go installed on your machine (version >=1.14 is required). You'll also need to correctly setup a GOPATH, as well as adding $GOPATH/bin to your $PATH.

Clone repository to: $GOPATH/src/github.com/hashicorp/terraform-provider-helm

> mkdir -p $GOPATH/src/github.com/terraform-providers
> git clone https://github.com/hashicorp/terraform-provider-helm.git $GOPATH/src/github.com/hashicorp/terraform-provider-helm

Enter the provider directory and build the provider

> cd $GOPATH/src/github.com/hashicorp/terraform-provider-helm
> make build

Now copy the compiled binary to the Terraform plugins folder. If this is your first plugin it may not be present.

> mkdir -p ~/.terraform.d/plugins/
> mv terraform-provider-helm ~/.terraform.d/plugins/