github.com/vtorhonen/terraform@v0.9.0-beta2.0.20170307220345-5d894e4ffda7/website/source/docs/providers/pagerduty/index.html.markdown (about) 1 --- 2 layout: "pagerduty" 3 page_title: "Provider: PagerDuty" 4 sidebar_current: "docs-pagerduty-index" 5 description: |- 6 PagerDuty is an alarm aggregation and dispatching service 7 --- 8 9 # PagerDuty Provider 10 11 [PagerDuty](https://www.pagerduty.com/) is an alarm aggregation and dispatching service for system administrators and support teams. It collects alerts from your monitoring tools, gives you an overall view of all of your monitoring alarms, and alerts an on duty engineer if there’s a problem. 12 13 Use the navigation to the left to read about the available resources. 14 15 ## Example Usage 16 17 ``` 18 # Configure the PagerDuty provider 19 provider "pagerduty" { 20 token = "${var.pagerduty_token}" 21 } 22 23 # Create a PagerDuty team 24 resource "pagerduty_team" "engineering" { 25 name = "Engineering" 26 description = "All engineering" 27 } 28 29 # Create a PagerDuty user 30 resource "pagerduty_user" "earline" { 31 name = "Earline Greenholt" 32 email = "125.greenholt.earline@graham.name" 33 teams = ["${pagerduty_team.engineering.id}"] 34 } 35 ``` 36 37 ## Argument Reference 38 39 The following arguments are supported: 40 41 * `token` - (Required) The v2 authorization token. See [API Documentation](https://v2.developer.pagerduty.com/docs/authentication) for more information.