Skip to content

circonus-labs/terraform-provider-circonus

Repository files navigation

Terraform Provider

Requirements

  • Terraform 0.12.x
  • Go 1.13+ (to build the provider plugin)

Building The Provider

Clone repository to a working directory.

$ git clone git@github.com:terraform-providers/terraform-provider-circonus

Enter the provider directory and build the provider

$ cd terraform-provider-circonus
$ 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.13+ is required).

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-circonus
...

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