Requirements
Building The Provider
Clone repository to: $GOPATH/src/github.com/oogway/terraform-provider-papertrail
$ mkdir -p $GOPATH/src/github.com/oogway; cd $GOPATH/src/github.com/oogway
$ git clone git@github.com:oogway/terraform-provider-papertrail
Enter the provider directory and build the provider
$ cd $GOPATH/src/github.com/oogway/terraform-provider-papertrail
$ go get
$ go build
For Usage, have a look at docs in website
directory.
Running Tests
$ cd $GOPATH/src/github.com/oogway/terraform-provider-papertrail/papertrail
$ PAPERTRAIL_TOKEN=<token> DESTINATION_PORT=<log_destination_port> go tests -v