Skip to content

frederic-arr/terraform-provider-ripedb

Repository files navigation

RIPE DB Provider for Terraform

The RIPE DB provider for Terraform is a plugin that exposes the RIPE Database to Terraform.

Requirements

Building The Provider

  1. Clone the repository
  2. Enter the repository directory
  3. Build the provider using the Go install command:

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

If you want to use the development version of the provider, you can configure the ~/.terraformrc file to use the local provider:

provider_installation {
    dev_overrides {
        "frederic-arr/ripe" = "/home/user/go/bin"
    }

    direct {}
}