Skip to content

Commit

Permalink
fix: incidente rule enum recipient to responders - fix #361
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcosRava committed Feb 10, 2023
1 parent 60930cd commit 15a3d32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion opsgenie/resource_opsgenie_service_incident_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func resourceOpsGenieServiceIncidentRule() *schema.Resource {
Required: true,
ValidateFunc: validation.StringInSlice([]string{
"message", "description", "tags",
"extra-properties", "recipients", "teams", "priority",
"extra-properties", "responders", "teams", "priority",
"alias", "source", "entity", "actions", "details",
}, false),
},
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/service_incident_rule.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ The `incident_rule` block supports:

The `conditions` block supports:

* `field` - (Required) Specifies which alert field will be used in condition. Possible values are `message`, `alias`, `description`, `source`, `entity`, `tags`, `actions`, `details`, `extra-properties`, `recipients`, `teams`, `priority`
* `field` - (Required) Specifies which alert field will be used in condition. Possible values are `message`, `alias`, `description`, `source`, `entity`, `tags`, `actions`, `details`, `extra-properties`, `responders`, `teams`, `priority`

* `operation` - (Required) It is the operation that will be executed for the given field and key. Possible operations are `matches`, `contains`, `starts-with`, `ends-with`, `equals`, `contains-key`, `contains-value`, `greater-than`, `less-than`, `is-empty`, `equals-ignore-whitespace`.

Expand Down

0 comments on commit 15a3d32

Please sign in to comment.