Terraform GreenHost provider. forked from github.com/digitalocean/terraform-provider-digitalocean
Go to file
Andrew Starr-Bochicchio 1620b7b0ab Correctly hand destination_tags in firewall resource. Fixes: #33 2017-08-27 12:05:44 -04:00
.github Add Issue Template 2017-06-06 09:16:37 -04:00
digitalocean Correctly hand destination_tags in firewall resource. Fixes: #33 2017-08-27 12:05:44 -04: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 chore(docs): add undocumented attribute to volume, update firewall docs 2017-06-29 12:57:42 +02: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-08-01 13:28:32 +02: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 Put correct build command in README 2017-08-21 18:32:14 -07: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