No description
  • Go 79.9%
  • Shell 8.8%
  • Makefile 7.3%
  • HTML 4%
Find a file
2020-07-27 21:01:12 +00:00
.github Make CoC and support channels more visible 2017-11-01 23:05:30 +01:00
mailgun add sdk plugin support 2020-07-27 22:26:46 +02:00
scripts Fix Changelog Links Script for mailgun provider 2017-06-26 13:58:48 -04:00
vendor add sdk plugin support 2020-07-27 22:26:46 +02:00
website update docs, changelog 2020-07-27 21:58:57 +02:00
.gitignore upgrade to Mailgun API v3 support, official client 2019-07-22 14:52:17 +02:00
.travis.yml update go version 2019-07-22 23:02:58 +02:00
CHANGELOG.md Cleanup after v0.4.3 release 2020-07-27 21:01:12 +00:00
GNUmakefile upgrade to Mailgun API v3 support, official client 2019-07-22 14:52:17 +02:00
go.mod add sdk plugin support 2020-07-27 22:26:46 +02:00
go.sum add sdk plugin support 2020-07-27 22:26:46 +02:00
LICENSE initial commit 2017-06-05 20:54:03 +00:00
main.go add sdk plugin support 2020-07-27 22:26:46 +02:00
README.md update vesrions 2019-07-23 09:19:04 +02:00

Terraform Provider

Requirements

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

Building The Provider

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

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

Enter the provider directory and build the provider

$ cd $GOPATH/src/github.com/terraform-providers/terraform-provider-mailgun
$ 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 bin
...
$ $GOPATH/bin/terraform-provider-mailgun
...

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