Skip to content

streamkap-com/terraform-provider-streamkap

Repository files navigation

Terraform Provider

Requirements

Using the provider

Fill this in for each provider

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine ( see Requirements above).

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

To generate or update documentation, run go generate.

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

Testing with terraform

Configure ~/.terraformrc, replace $GOBIN_PATH with your $GOPATH/bin

provider_installation {
  dev_overrides {
    "github.com/streamkap-com/streamkap" = "$GOBIN_PATH"
  }
  direct {}
}

Install provider with

go install .

Write your module, can see the example in examples/full