No description
  • Go 84.7%
  • Shell 7%
  • Makefile 5.6%
  • HTML 2.7%
Find a file
2020-10-23 01:03:55 +02:00
.github Make CoC and support channels more visible 2017-11-01 23:04:52 +01:00
dnsimple Adding sandbox flag (#12) 2020-10-20 17:43:44 +02:00
scripts Fix Changelog Links Script for dnsimple provider 2017-06-26 09:49:43 -05:00
vendor Bump dependencies 2020-05-12 21:35:32 +02:00
website CHANGELOG for GH-12 2020-10-20 17:46:13 +02:00
.gitignore Updating Makefile + Add gitignore 2017-06-06 16:26:57 -04:00
.go-version Switch to Terraform Plugin SDK (#21) 2020-02-08 17:05:37 +01:00
.travis.yml Switch to Terraform Plugin SDK (#21) 2020-02-08 17:05:37 +01:00
CHANGELOG.md CHANGELOG: Fix link to dnsimple_email_forward PR (#31) 2020-10-23 01:03:55 +02:00
GNUmakefile deps: use go modules for dep mgmt 2019-02-20 17:47:34 -05:00
go.mod Bump dependencies 2020-05-12 21:35:32 +02:00
go.sum Bump dependencies 2020-05-12 21:35:32 +02:00
LICENSE initial commit 2017-06-05 20:53:56 +00:00
main.go Switch to Terraform Plugin SDK (#21) 2020-02-08 17:05:37 +01:00
README.md Update README.md 2020-02-08 18:08:04 +01:00

Terraform Provider

Requirements

  • Terraform 0.10.x
  • Go 1.12+ (to build the provider plugin)

Building The Provider

Clone repository to: $GOPATH/src/github.com/terraform-providers/terraform-provider-dnsimple

$ mkdir -p $GOPATH/src/github.com/terraform-providers; cd $GOPATH/src/github.com/terraform-providers
$ git clone git@github.com:terraform-providers/terraform-provider-dnsimple

Enter the provider directory and build the provider

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

Using the provider

See the DNSimple Provider documentation to get started using the DNSimple provider.

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (version 1.12+ 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 build
...
$ $GOPATH/bin/terraform-provider-dnsimple
...

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