No description
  • Go 96.8%
  • HTML 1.9%
  • Shell 0.7%
  • Makefile 0.6%
Find a file
2020-07-29 12:25:23 -07:00
.github Make CoC and support channels more visible 2017-11-01 23:05:55 +01:00
pagerduty Merge pull request #253 from ehlerorngard/service_integration_retry_on_create 2020-07-29 12:25:23 -07:00
scripts Fix Changelog Links Script for pagerduty provider 2017-06-26 13:59:46 -04:00
vendor updating explicits on modules.txt 2020-07-24 13:25:42 -07:00
website Add time_zone to argument reference 2020-07-23 20:48:55 -04:00
.gitignore Update terraform plugin SDK from 1.0.0 to 1.7.0 2020-03-09 16:02:00 +01:00
.go-version Bump go to v1.14.3 2020-05-21 08:26:06 -04:00
.travis.yml Update travis config 2020-03-29 22:50:58 -04:00
CHANGELOG.md Cleanup after v1.7.4 release 2020-07-27 20:15:50 +00:00
GNUmakefile deps: use go modules for dep mgmt 2019-03-15 11:00:28 -04:00
go.mod adding schedule editing to provider 2020-07-24 09:21:06 -07:00
go.sum adding schedule editing to provider 2020-07-24 09:21:06 -07:00
LICENSE initial commit 2017-06-05 20:53:59 +00:00
main.go Migrate to new sdk (#158) 2019-10-20 12:24:59 +02:00
README.md Update README for tf requirement 2020-05-06 15:14:35 -04:00

Terraform Provider for PagerDuty

Requirements

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

Building The Provider

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

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

Enter the provider directory and build the provider

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

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