/terraform-provider-qubole

Primary LanguageGoMozilla Public License 2.0MPL-2.0

Terraform Provider

Requirements

  • Terraform 0.10+
  • Go 1.11 (to build the provider plugin)

Building The Provider

Clone repository to: $GOPATH/src/github.com/terraform-providers/terraform-provider-qubole

$ mkdir -p $GOPATH/src/github.com/terraform-providers; 
$ cd $GOPATH/src/github.com/terraform-providers
$ git clone https://github.com/vihag/terraform-provider-qubole.git

Enter the provider directory and build the provider

$ cd $GOPATH/src/github.com/terraform-providers/terraform-provider-qubole
$ export TF_LOG=DEBUG
$ export TF_LOG_PATH=/tmp/tflog.log

$ clear
$ >/tmp/tflog.log
$ go build -o terraform-provider-qubole

Using the provider

If you're building the provider, follow the instructions to install it as a plugin. After placing it into your plugins directory, run terraform init to initialize it. Documentation about the provider specific configuration options can be found on the [provider's website]

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (version 1.11+ is required). You'll also need to correctly setup a GOPATH, as well as adding $GOPATH/bin to your $PATH.

To compile the provider, run go build -o terraform-provider-qubole. This will build the provider and put the provider binary in the $GOPATH/bin directory.

$ go build -o terraform-provider-qubole
...
$ $GOPATH/bin/terraform-provider-qubole
...

Test suites are coming