pagerduty_ruleset

Rulesets allow you to route events to an endpoint and create collections of event rules, which define sets of actions to take based on event content.

Example Usage

resource "pagerduty_team" "foo" {
    name = "Engineering (Seattle)"
}

resource "pagerduty_ruleset" "foo" {
    name = "Primary Ruleset"
    team {
        id = pagerduty_team.foo.id
    }
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

Rulesets can be imported using the id, e.g.

$ terraform import pagerduty_ruleset.main 19acac92-027a-4ea0-b06c-bbf516519601