No description
  • Go 97.6%
  • HTML 1.4%
  • Shell 0.6%
  • Makefile 0.4%
Find a file
2020-07-20 08:38:53 -07:00
.github Add dot github files 2019-03-01 14:17:23 -08:00
git-hooks Extract out signalform source code into a dedicated package 2016-11-09 11:30:57 -08:00
scripts Fix execution 2019-06-21 07:51:04 -07:00
signalfx Fix up missing colors in docs. 2020-07-13 07:36:14 -07:00
vendor Bump SFx-go for package specs 2020-06-10 13:22:45 -07:00
version Add version for build 2020-04-13 10:40:29 -07:00
website Add notes about tokens 2020-07-20 08:38:53 -07:00
.gitignore Acceptance testing 2019-05-22 13:51:05 -07:00
.travis.yml Bump Go version 2020-06-04 10:21:57 -07:00
CHANGELOG.md CL 2020-07-13 07:57:42 -07:00
GNUmakefile Add scripts from hashicorp null provider 2019-06-21 07:51:04 -07:00
go.mod Bump SFx-go for package specs 2020-06-10 13:22:45 -07:00
go.sum Bump SFx-go for package specs 2020-06-10 13:22:45 -07:00
LICENSE LICENSE 2019-05-28 11:50:54 -07:00
main.go Upgrade to new standalone SDK 2019-09-27 07:38:28 -07:00
README.md Update README.md 2020-05-07 13:16:09 -04:00
READMEOLD.md New readme 2019-06-21 07:49:56 -07:00

Terraform signalfx 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-signalfx

$ git clone git@github.com:terraform-providers/terraform-provider-signalfx $GOPATH/src/github.com/terraform-providers/terraform-provider-signalfx

Enter the provider directory and build the provider

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

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.

Further usage documentation is available on the Terraform 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 make build. This will build the provider and put the provider binary in the $GOPATH/bin directory.

$ make bin
...
$ $GOPATH/bin/terraform-provider-signalfx
...

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