Terraform GreenHost provider. forked from github.com/digitalocean/terraform-provider-digitalocean
Go to file
Radek Simko 6b3fe79d0e
r/firewall: Suppress diff for 'all' port range
2017-09-14 17:16:32 +01:00
.github Add Issue Template 2017-06-06 09:16:37 -04:00
digitalocean r/firewall: Suppress diff for 'all' port range 2017-09-14 17:16:32 +01:00
examples/droplet Add Bangalore Data center and update to Ubuntu 16.04 (#14892) 2017-05-28 23:46:09 +03:00
scripts Fix Changelog Links Script for digitalocean provider 2017-06-26 09:49:27 -05:00
vendor vendor: github.com/hashicorp/terraform/...@v0.10.0 (#31) 2017-08-14 16:16:13 +02:00
website Added monitoring boolean (#38) 2017-09-14 08:55:22 +01:00
.gitignore Updating Makefile + Add gitignore 2017-06-06 16:26:44 -04:00
.travis.yml Updating Makefile + Add gitignore 2017-06-09 14:28:09 -04:00
CHANGELOG.md Update CHANGELOG.md 2017-09-14 15:29:27 +01:00
GNUmakefile Adding back the GNUmakefile test-compile step 2017-06-30 11:15:18 +03:00
LICENSE initial commit 2017-06-05 20:54:06 +00:00
README.md Fixing logo 2017-08-31 11:04:45 -04:00
main.go Initial transfer of provider code 2017-06-06 11:45:18 -04:00

README.md

Terraform Provider

Requirements

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

Building The Provider

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

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

Enter the provider directory and build the provider

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

Using the provider

Fill in for each provider

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (version 1.8+ 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-$PROVIDER_NAME
...

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