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

Data source for Service API #118

Merged
merged 13 commits into from
Jul 8, 2020
Prev Previous commit
Next Next commit
Document changes
  • Loading branch information
msg4sunny committed Jul 2, 2020
commit 3174a0375c74c5fd2f0b1c2862691eb6d0b0dba1
8 changes: 0 additions & 8 deletions website/docs/d/service.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,8 @@ Manages existing Service within Opsgenie.
## Example Usage

```hcl
resource "opsgenie_team" "payment" {
name = "example"
description = "This team deals with all the things"
}

resource "opsgenie_service" "this" {
name = "Payment"
team_id = "$opsgenie_team.payment.id"
}
```

Expand All @@ -30,8 +24,6 @@ The following arguments are supported:

* `name` - (Required) Name of the service. This field must not be longer than 100 characters.
msg4sunny marked this conversation as resolved.
Show resolved Hide resolved

* `team_id` - (Required) Team id of the service. This field must not be longer than 512 characters.

The following attributes are exported:

* `id` - The ID of the Opsgenie Service.
Expand Down