/terraform-provider-form3

Form3 terraform provider

Primary LanguageGoOtherNOASSERTION

Build Status

Terraform Form3 Provider

The Form3 provider is used to create and manage Form3 resources using the official Form3 API

Requirements

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

Building The Provider

Clone repository to: $GOPATH/src/github.com/ewilde/terraform-provider-form3

Enter the provider directory and build the provider

$ cd $GOPATH/src/github.com/ewilde/terraform-provider-form3
$ make build

Using the provider

See examples

See form3 providers documentation

Developing the Provider

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

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.

$ env FORM3_CLIENT_ID={your_client_id} FORM3_CLIENT_SECRET={your_client_secret} FORM3_HOST={some_env_host} FORM3_ORGANISATION_ID={your_organisation_id} make testacc

Updating packages

  • govendor fetch github.com/ewilde/go-form3/...