No description
  • Go 87.8%
  • Shell 5.2%
  • Makefile 4.2%
  • HTML 2.8%
Find a file
2020-08-31 20:02:20 +00:00
.github Make CoC and support channels more visible 2017-11-01 23:05:19 +01:00
influxdb Add support for the CQ RESAMPLE clause 2020-08-26 16:40:16 -04:00
scripts Fix Changelog Links Script for influxdb provider 2017-06-26 09:51:31 -05:00
vendor vendor: go get github.com/hashicorp/terraform@v0.12.0 2019-05-22 15:15:59 -07:00
website Fix documentation on retention policies 2020-08-31 13:10:41 +02:00
.gitignore Updating Makefile + Add gitignore 2017-06-06 16:27:55 -04:00
.go-version Use Go version 1.12.5 2019-05-22 15:15:59 -07:00
.travis.yml deps: use go modules for dep mgmt 2019-03-01 16:06:44 -05:00
CHANGELOG.md Cleanup after v1.3.1 release 2020-08-31 20:02:20 +00:00
GNUmakefile deps: use go modules for dep mgmt 2019-03-01 16:06:44 -05:00
go.mod vendor: go get github.com/hashicorp/terraform@v0.12.0 2019-05-22 15:15:59 -07:00
go.sum vendor: go get github.com/hashicorp/terraform@v0.12.0 2019-05-22 15:15:59 -07:00
LICENSE initial commit 2017-06-05 20:54:04 +00:00
main.go Initial transfer of provider code 2017-06-06 12:05:57 -04:00
README.md Fix "make build" typo in README 2019-02-22 14:53:40 -05:00

Terraform Provider

Requirements

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

Building The Provider

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

$ mkdir -p $GOPATH/src/github.com/terraform-providers; cd $GOPATH/src/github.com/terraform-providers
$ git clone git@github.com:terraform-providers/terraform-provider-influxdb

Enter the provider directory and build the provider

$ cd $GOPATH/src/github.com/terraform-providers/terraform-provider-influxdb
$ make build

Using the provider

Fill in for each provider

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 make build. This will build the provider and put the provider binary in the $GOPATH/bin directory.

$ make build
...
$ $GOPATH/bin/terraform-provider-influxdb
...

In order to test the provider, you can simply run make test.

$ make test

In order to run the full suite of Acceptance tests, run make testacc.

Note: Acceptance tests create real resources, and often cost money to run.

$ make testacc