Skip to content

danitso/terraform-provider-clouddk

Repository files navigation

Build Status Go Report Card GoDoc

Terraform Provider for Cloud.dk

A Terraform Provider which manages resources from Cloud.dk.

Requirements

  • Terraform 0.13+
  • Go 1.15+ (to build the provider plugin)
  • GoReleaser 0.155+ (to build the provider plugin)

Table of Contents

Building the provider

  • Clone the repository to $GOPATH/src/github.com/danitso/terraform-provider-clouddk:

    $ mkdir -p "${GOPATH}/src/github.com/danitso"
    $ cd "${GOPATH}/src/github.com/danitso"
    $ git clone [email protected]:danitso/terraform-provider-clouddk
  • Enter the provider directory and build it:

    $ cd "${GOPATH}/src/github.com/danitso/terraform-provider-clouddk"
    $ make build

Using the provider

You can find the latest release and its documentation in the Terraform Registry.

Testing the provider

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

$ make test

Tests are limited to regression tests, ensuring backwards compability.