github.com/vtorhonen/terraform@v0.9.0-beta2.0.20170307220345-5d894e4ffda7/website/source/docs/providers/pagerduty/d/vendor.html.markdown (about) 1 --- 2 layout: "pagerduty" 3 page_title: "PagerDuty: pagerduty_vendor" 4 sidebar_current: "docs-pagerduty-datasource-vendor" 5 description: |- 6 Get information about a vendor that you can use for a service integration (e.g Amazon Cloudwatch, Splunk, Datadog). 7 --- 8 9 # pagerduty\_vendor 10 11 Use this data source to get information about a specific [vendor][1] that you can use for a service integration (e.g Amazon Cloudwatch, Splunk, Datadog). 12 13 ## Example Usage 14 15 ``` 16 data "pagerduty_vendor" "datadog" { 17 name = "Datadog" 18 } 19 20 resource "pagerduty_user" "example" { 21 name = "Earline Greenholt" 22 email = "125.greenholt.earline@graham.name" 23 teams = ["${pagerduty_team.example.id}"] 24 } 25 26 resource "pagerduty_escalation_policy" "foo" { 27 name = "Engineering Escalation Policy" 28 num_loops = 2 29 30 rule { 31 escalation_delay_in_minutes = 10 32 33 target { 34 type = "user" 35 id = "${pagerduty_user.example.id}" 36 } 37 } 38 } 39 40 resource "pagerduty_service" "example" { 41 name = "My Web App" 42 auto_resolve_timeout = 14400 43 acknowledgement_timeout = 600 44 escalation_policy = "${pagerduty_escalation_policy.example.id}" 45 } 46 47 resource "pagerduty_service_integration" "example" { 48 name = "Datadog Integration" 49 vendor = "${data.pagerduty_vendor.datadog.id}" 50 service = "${pagerduty_service.example.id}" 51 type = "generic_events_api_inbound_integration" 52 } 53 ``` 54 55 ## Argument Reference 56 57 The following arguments are supported: 58 59 * `name` - (Required) The vendor name to use to find a vendor in the PagerDuty API. 60 61 ## Attributes Reference 62 * `name` - The short name of the found vendor. 63 * `type` - The generic service type for this vendor. 64 65 [1]: https://v2.developer.pagerduty.com/v2/page/api-reference#!/Vendors/get_vendors