Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add integration datasource #363

Merged
merged 8 commits into from
Aug 16, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update docs
  • Loading branch information
petetanton committed Jul 30, 2021
commit f7feaf36a89505c0331a5c332d5ff9407afa543c
30 changes: 30 additions & 0 deletions website/docs/d/service_integration.html.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
layout: "pagerduty"
page_title: "PagerDuty: pagerduty_service_integration"
sidebar_current: "docs-pagerduty-datasource-service_integration"
description: |-
Get information about a service integration.
---

# pagerduty\_service\_integration

Use this data source to get information about a specific service_integration.

## Example Usage

```hcl
data "pagerduty_service_integration" "example" {
service_name = "My Service"
integration_summary = "Datadog"
}
```

## Argument Reference

The following arguments are supported:

* `service_name` - (Required) The service name to use to find a service in the PagerDuty API.
* `integration_summary` - (Required) The integration summary used to find the desired integration on the service

## Attributes Reference
* `integration_key` - The integration key for the integration. This can be used to configure alerts.
7 changes: 5 additions & 2 deletions website/pagerduty.erb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
<li<%= sidebar_current("docs-pagerduty-datasource-service") %>>
<a href="/docs/providers/pagerduty/d/service.html">pagerduty_service</a>
</li>
<li<%= sidebar_current("docs-pagerduty-datasource-service-integration") %>>
<a href="/docs/providers/pagerduty/d/service_integration.html">pagerduty_service_integration</a>
</li>
<li<%= sidebar_current("docs-pagerduty-datasource-user") %>>
<a href="/docs/providers/pagerduty/d/user.html">pagerduty_user</a>
</li>
Expand Down Expand Up @@ -75,7 +78,7 @@
</li>
<li<%= sidebar_current("docs-pagerduty-resource-response-play") %>>
<a href="/docs/providers/pagerduty/r/response_play.html">pagerduty_response_play</a>
</li>
</li>
<li<%= sidebar_current("docs-pagerduty-resource-ruleset") %>>
<a href="/docs/providers/pagerduty/r/ruleset.html">pagerduty_ruleset</a>
</li>
Expand All @@ -87,7 +90,7 @@
</li>
<li<%= sidebar_current("docs-pagerduty-resource-service") %>>
<a href="/docs/providers/pagerduty/r/service.html">pagerduty_service</a>
</li>
</li>
<li<%= sidebar_current("docs-pagerduty-resource-service-event-rule") %>>
<a href="/docs/providers/pagerduty/r/serve_event_rule.html">pagerduty_service_event_rule</a>
</li>
Expand Down