Skip to content

Commit

Permalink
fix responders field (#343)
Browse files Browse the repository at this point in the history
Co-authored-by: Serhat Buyukcelebi <[email protected]>
  • Loading branch information
Serhatkemal and sbuyukcelebi authored Nov 11, 2022
1 parent 93fbf59 commit 22a6cc7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion opsgenie/resource_opsgenie_alert_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func resourceOpsGenieAlertPolicy() *schema.Resource {
Required: true,
ValidateFunc: validation.StringInSlice([]string{
"message", "alias", "description", "source", "entity", "tags",
"actions", "details", "extra-properties", "recipients", "teams", "priority",
"actions", "details", "extra-properties", "responders", "teams", "priority",
}, false),
},
"operation": {
Expand Down
2 changes: 1 addition & 1 deletion opsgenie/resource_opsgenie_notification_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func resourceOpsGenieNotificationPolicy() *schema.Resource {
Required: true,
ValidateFunc: validation.StringInSlice([]string{
"message", "alias", "description", "source", "entity", "tags",
"actions", "details", "extra-properties", "recipients", "teams", "priority",
"actions", "details", "extra-properties", "responders", "teams", "priority",
}, false),
},
"operation": {
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/alert_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ The `filter` 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
2 changes: 1 addition & 1 deletion website/docs/r/notification_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ The `filter` 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 22a6cc7

Please sign in to comment.