No description
  • Go 96.7%
  • HTML 1.9%
  • Shell 0.8%
  • Makefile 0.6%
Find a file
2020-07-28 14:34:46 +00:00
.github Make CoC and support channels more visible 2017-11-01 23:05:50 +01:00
opsgenie Implementation of integration actions for API/Email (#138) 2020-07-28 15:44:55 +03:00
scripts Fix Changelog Links Script for opsgenie provider 2017-06-26 13:59:33 -04:00
vendor Implementation of integration actions for API/Email (#138) 2020-07-28 15:44:55 +03:00
website Implementation of integration actions for API/Email (#138) 2020-07-28 15:44:55 +03:00
.gitignore Initial commit 2019-09-04 19:54:13 +03:00
.travis.yml update travis yml 2019-09-04 20:32:39 +03:00
CHANGELOG.md Cleanup after v0.4.0 release 2020-07-28 14:34:46 +00:00
GNUmakefile update makefile 2019-09-04 20:36:11 +03:00
go.mod Implementation of integration actions for API/Email (#138) 2020-07-28 15:44:55 +03:00
go.sum Implementation of integration actions for API/Email (#138) 2020-07-28 15:44:55 +03:00
LICENSE initial commit 2017-06-05 20:53:56 +00:00
main.go Updated tf sdk and heartbeat validation (#35) 2019-11-04 11:06:30 +03:00
README.md Fix make command in README example (#85) 2020-03-19 09:20:14 +03:00

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-opsgenie

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

Enter the provider directory and build the provider

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

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