published on Thursday, May 7, 2026 by rootlyhq
published on Thursday, May 7, 2026 by rootlyhq
Example Usage
# Look up existing resources to reference in conditions
data "rootly_severity" "sev0" {
slug = "sev0"
}
data "rootly_severity" "sev1" {
slug = "sev1"
}
data "rootly_incident_role" "commander" {
slug = "incident-commander"
}
# Basic SLA — follow-ups must be assigned within 3 days of the incident
# starting, and completed within 7 days of resolution.
resource "rootly_sla" "basic" {
name = "Standard Follow-Up SLA"
description = "Ensure follow-ups are assigned and completed on time"
assignment_deadline_days = 3
assignment_deadline_parent_status = "started"
completion_deadline_days = 7
completion_deadline_parent_status = "resolved"
manager_role_id = data.rootly_incident_role.commander.id
}
# SLA with conditions — only applies to SEV0/SEV1 incidents.
# Note: the `values` field takes resource IDs (not display names like "SEV0").
# Use a data source to look up the ID first.
resource "rootly_sla" "critical" {
name = "Critical Incident SLA"
description = "Stricter deadlines for SEV0 and SEV1 incidents"
condition_match_type = "ALL"
assignment_deadline_days = 3
assignment_deadline_parent_status = "started"
assignment_skip_weekends = false
completion_deadline_days = 5
completion_deadline_parent_status = "resolved"
completion_skip_weekends = false
manager_role_id = data.rootly_incident_role.commander.id
# is_one_of: match incidents with SEV0 or SEV1 severity.
# Note: `values` takes resource IDs (not display names like "SEV0").
# Use a data source to look up the ID first.
conditions {
conditionable_type = "SLAs::BuiltInFieldCondition"
property = "severity"
operator = "is_one_of"
values = [data.rootly_severity.sev0.id, data.rootly_severity.sev1.id]
}
# is_set: require that the environment field is present (no values needed)
conditions {
conditionable_type = "SLAs::BuiltInFieldCondition"
property = "environment"
operator = "is_set"
}
# Notify 1 day before the deadline, when due, and 1 day after
notification_configurations {
offset_type = "before_due"
offset_days = 1
}
notification_configurations {
offset_type = "when_due"
offset_days = 0
}
notification_configurations {
offset_type = "after_due"
offset_days = 1
}
}
# SLA with a custom field condition using the "contains" operator (single value)
resource "rootly_sla" "compliance" {
name = "Compliance Review SLA"
assignment_deadline_days = 2
assignment_deadline_parent_status = "started"
completion_deadline_days = 5
completion_deadline_parent_status = "resolved"
manager_role_id = data.rootly_incident_role.commander.id
# contains: match when the custom field value contains a substring
conditions {
conditionable_type = "SLAs::CustomFieldCondition"
form_field_id = "your-custom-field-uuid"
operator = "contains"
values = ["production"]
}
}
Create Sla Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Sla(name: string, args: SlaArgs, opts?: CustomResourceOptions);@overload
def Sla(resource_name: str,
args: SlaArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Sla(resource_name: str,
opts: Optional[ResourceOptions] = None,
completion_deadline_days: Optional[int] = None,
assignment_deadline_parent_status: Optional[str] = None,
assignment_deadline_days: Optional[int] = None,
completion_deadline_parent_status: Optional[str] = None,
condition_match_type: Optional[str] = None,
entity_type: Optional[str] = None,
completion_deadline_sub_status_id: Optional[str] = None,
completion_skip_weekends: Optional[bool] = None,
assignment_deadline_sub_status_id: Optional[str] = None,
conditions: Optional[Sequence[SlaConditionArgs]] = None,
description: Optional[str] = None,
assignment_skip_weekends: Optional[bool] = None,
manager_role_id: Optional[str] = None,
manager_user_id: Optional[int] = None,
name: Optional[str] = None,
notification_configurations: Optional[Sequence[SlaNotificationConfigurationArgs]] = None,
position: Optional[int] = None,
slug: Optional[str] = None)func NewSla(ctx *Context, name string, args SlaArgs, opts ...ResourceOption) (*Sla, error)public Sla(string name, SlaArgs args, CustomResourceOptions? opts = null)type: rootly:Sla
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SlaArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SlaArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SlaArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SlaArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SlaArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var slaResource = new Rootly.Sla("slaResource", new()
{
CompletionDeadlineDays = 0,
AssignmentDeadlineParentStatus = "string",
AssignmentDeadlineDays = 0,
CompletionDeadlineParentStatus = "string",
ConditionMatchType = "string",
EntityType = "string",
CompletionDeadlineSubStatusId = "string",
CompletionSkipWeekends = false,
AssignmentDeadlineSubStatusId = "string",
Conditions = new[]
{
new Rootly.Inputs.SlaConditionArgs
{
ConditionableType = "string",
FormFieldId = "string",
Id = "string",
Operator = "string",
Position = 0,
Property = "string",
Values = new[]
{
"string",
},
},
},
Description = "string",
AssignmentSkipWeekends = false,
ManagerRoleId = "string",
ManagerUserId = 0,
Name = "string",
NotificationConfigurations = new[]
{
new Rootly.Inputs.SlaNotificationConfigurationArgs
{
CreatedAt = "string",
Id = "string",
OffsetDays = 0,
OffsetType = "string",
UpdatedAt = "string",
},
},
Position = 0,
Slug = "string",
});
example, err := rootly.NewSla(ctx, "slaResource", &rootly.SlaArgs{
CompletionDeadlineDays: pulumi.Int(0),
AssignmentDeadlineParentStatus: pulumi.String("string"),
AssignmentDeadlineDays: pulumi.Int(0),
CompletionDeadlineParentStatus: pulumi.String("string"),
ConditionMatchType: pulumi.String("string"),
EntityType: pulumi.String("string"),
CompletionDeadlineSubStatusId: pulumi.String("string"),
CompletionSkipWeekends: pulumi.Bool(false),
AssignmentDeadlineSubStatusId: pulumi.String("string"),
Conditions: rootly.SlaConditionArray{
&rootly.SlaConditionArgs{
ConditionableType: pulumi.String("string"),
FormFieldId: pulumi.String("string"),
Id: pulumi.String("string"),
Operator: pulumi.String("string"),
Position: pulumi.Int(0),
Property: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Description: pulumi.String("string"),
AssignmentSkipWeekends: pulumi.Bool(false),
ManagerRoleId: pulumi.String("string"),
ManagerUserId: pulumi.Int(0),
Name: pulumi.String("string"),
NotificationConfigurations: rootly.SlaNotificationConfigurationArray{
&rootly.SlaNotificationConfigurationArgs{
CreatedAt: pulumi.String("string"),
Id: pulumi.String("string"),
OffsetDays: pulumi.Int(0),
OffsetType: pulumi.String("string"),
UpdatedAt: pulumi.String("string"),
},
},
Position: pulumi.Int(0),
Slug: pulumi.String("string"),
})
var slaResource = new Sla("slaResource", SlaArgs.builder()
.completionDeadlineDays(0)
.assignmentDeadlineParentStatus("string")
.assignmentDeadlineDays(0)
.completionDeadlineParentStatus("string")
.conditionMatchType("string")
.entityType("string")
.completionDeadlineSubStatusId("string")
.completionSkipWeekends(false)
.assignmentDeadlineSubStatusId("string")
.conditions(SlaConditionArgs.builder()
.conditionableType("string")
.formFieldId("string")
.id("string")
.operator("string")
.position(0)
.property("string")
.values("string")
.build())
.description("string")
.assignmentSkipWeekends(false)
.managerRoleId("string")
.managerUserId(0)
.name("string")
.notificationConfigurations(SlaNotificationConfigurationArgs.builder()
.createdAt("string")
.id("string")
.offsetDays(0)
.offsetType("string")
.updatedAt("string")
.build())
.position(0)
.slug("string")
.build());
sla_resource = rootly.Sla("slaResource",
completion_deadline_days=0,
assignment_deadline_parent_status="string",
assignment_deadline_days=0,
completion_deadline_parent_status="string",
condition_match_type="string",
entity_type="string",
completion_deadline_sub_status_id="string",
completion_skip_weekends=False,
assignment_deadline_sub_status_id="string",
conditions=[{
"conditionable_type": "string",
"form_field_id": "string",
"id": "string",
"operator": "string",
"position": 0,
"property": "string",
"values": ["string"],
}],
description="string",
assignment_skip_weekends=False,
manager_role_id="string",
manager_user_id=0,
name="string",
notification_configurations=[{
"created_at": "string",
"id": "string",
"offset_days": 0,
"offset_type": "string",
"updated_at": "string",
}],
position=0,
slug="string")
const slaResource = new rootly.Sla("slaResource", {
completionDeadlineDays: 0,
assignmentDeadlineParentStatus: "string",
assignmentDeadlineDays: 0,
completionDeadlineParentStatus: "string",
conditionMatchType: "string",
entityType: "string",
completionDeadlineSubStatusId: "string",
completionSkipWeekends: false,
assignmentDeadlineSubStatusId: "string",
conditions: [{
conditionableType: "string",
formFieldId: "string",
id: "string",
operator: "string",
position: 0,
property: "string",
values: ["string"],
}],
description: "string",
assignmentSkipWeekends: false,
managerRoleId: "string",
managerUserId: 0,
name: "string",
notificationConfigurations: [{
createdAt: "string",
id: "string",
offsetDays: 0,
offsetType: "string",
updatedAt: "string",
}],
position: 0,
slug: "string",
});
type: rootly:Sla
properties:
assignmentDeadlineDays: 0
assignmentDeadlineParentStatus: string
assignmentDeadlineSubStatusId: string
assignmentSkipWeekends: false
completionDeadlineDays: 0
completionDeadlineParentStatus: string
completionDeadlineSubStatusId: string
completionSkipWeekends: false
conditionMatchType: string
conditions:
- conditionableType: string
formFieldId: string
id: string
operator: string
position: 0
property: string
values:
- string
description: string
entityType: string
managerRoleId: string
managerUserId: 0
name: string
notificationConfigurations:
- createdAt: string
id: string
offsetDays: 0
offsetType: string
updatedAt: string
position: 0
slug: string
Sla Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Sla resource accepts the following input properties:
- Assignment
Deadline intDays - Number of days for the assignment deadline
- Assignment
Deadline stringParent Status - The incident parent status that triggers the assignment deadline
- Completion
Deadline intDays - Number of days for the completion deadline
- Completion
Deadline stringParent Status - The incident parent status that triggers the completion deadline
- Assignment
Deadline stringSub Status Id - Sub-status for the assignment deadline. Required when custom lifecycle statuses are enabled on the team.
- Assignment
Skip boolWeekends - Whether to skip weekends when calculating the assignment deadline. Value must be one of true or false
- Completion
Deadline stringSub Status Id - Sub-status for the completion deadline. Required when custom lifecycle statuses are enabled on the team.
- Completion
Skip boolWeekends - Whether to skip weekends when calculating the completion deadline. Value must be one of true or false
- Condition
Match stringType - Whether all or any conditions must match. Value must be one of
ALL,ANY. - Conditions
List<Sla
Condition> - Conditions that determine which incidents this SLA applies to
- Description string
- A description of the SLA
- Entity
Type string - The entity type this SLA applies to. Value must be one of
followUp. - Manager
Role stringId - The ID of the manager incident role. Exactly one of
managerRoleIdormanagerUserIdmust be provided. - Manager
User intId - The ID of the manager user. Exactly one of
managerRoleIdormanagerUserIdmust be provided. - Name string
- The name of the SLA
- Notification
Configurations List<SlaNotification Configuration> - Notification timing configurations
- Position int
- Position of the SLA for ordering
- Slug string
- The slug of the SLA
- Assignment
Deadline intDays - Number of days for the assignment deadline
- Assignment
Deadline stringParent Status - The incident parent status that triggers the assignment deadline
- Completion
Deadline intDays - Number of days for the completion deadline
- Completion
Deadline stringParent Status - The incident parent status that triggers the completion deadline
- Assignment
Deadline stringSub Status Id - Sub-status for the assignment deadline. Required when custom lifecycle statuses are enabled on the team.
- Assignment
Skip boolWeekends - Whether to skip weekends when calculating the assignment deadline. Value must be one of true or false
- Completion
Deadline stringSub Status Id - Sub-status for the completion deadline. Required when custom lifecycle statuses are enabled on the team.
- Completion
Skip boolWeekends - Whether to skip weekends when calculating the completion deadline. Value must be one of true or false
- Condition
Match stringType - Whether all or any conditions must match. Value must be one of
ALL,ANY. - Conditions
[]Sla
Condition Args - Conditions that determine which incidents this SLA applies to
- Description string
- A description of the SLA
- Entity
Type string - The entity type this SLA applies to. Value must be one of
followUp. - Manager
Role stringId - The ID of the manager incident role. Exactly one of
managerRoleIdormanagerUserIdmust be provided. - Manager
User intId - The ID of the manager user. Exactly one of
managerRoleIdormanagerUserIdmust be provided. - Name string
- The name of the SLA
- Notification
Configurations []SlaNotification Configuration Args - Notification timing configurations
- Position int
- Position of the SLA for ordering
- Slug string
- The slug of the SLA
- assignment
Deadline IntegerDays - Number of days for the assignment deadline
- assignment
Deadline StringParent Status - The incident parent status that triggers the assignment deadline
- completion
Deadline IntegerDays - Number of days for the completion deadline
- completion
Deadline StringParent Status - The incident parent status that triggers the completion deadline
- assignment
Deadline StringSub Status Id - Sub-status for the assignment deadline. Required when custom lifecycle statuses are enabled on the team.
- assignment
Skip BooleanWeekends - Whether to skip weekends when calculating the assignment deadline. Value must be one of true or false
- completion
Deadline StringSub Status Id - Sub-status for the completion deadline. Required when custom lifecycle statuses are enabled on the team.
- completion
Skip BooleanWeekends - Whether to skip weekends when calculating the completion deadline. Value must be one of true or false
- condition
Match StringType - Whether all or any conditions must match. Value must be one of
ALL,ANY. - conditions
List<Sla
Condition> - Conditions that determine which incidents this SLA applies to
- description String
- A description of the SLA
- entity
Type String - The entity type this SLA applies to. Value must be one of
followUp. - manager
Role StringId - The ID of the manager incident role. Exactly one of
managerRoleIdormanagerUserIdmust be provided. - manager
User IntegerId - The ID of the manager user. Exactly one of
managerRoleIdormanagerUserIdmust be provided. - name String
- The name of the SLA
- notification
Configurations List<SlaNotification Configuration> - Notification timing configurations
- position Integer
- Position of the SLA for ordering
- slug String
- The slug of the SLA
- assignment
Deadline numberDays - Number of days for the assignment deadline
- assignment
Deadline stringParent Status - The incident parent status that triggers the assignment deadline
- completion
Deadline numberDays - Number of days for the completion deadline
- completion
Deadline stringParent Status - The incident parent status that triggers the completion deadline
- assignment
Deadline stringSub Status Id - Sub-status for the assignment deadline. Required when custom lifecycle statuses are enabled on the team.
- assignment
Skip booleanWeekends - Whether to skip weekends when calculating the assignment deadline. Value must be one of true or false
- completion
Deadline stringSub Status Id - Sub-status for the completion deadline. Required when custom lifecycle statuses are enabled on the team.
- completion
Skip booleanWeekends - Whether to skip weekends when calculating the completion deadline. Value must be one of true or false
- condition
Match stringType - Whether all or any conditions must match. Value must be one of
ALL,ANY. - conditions
Sla
Condition[] - Conditions that determine which incidents this SLA applies to
- description string
- A description of the SLA
- entity
Type string - The entity type this SLA applies to. Value must be one of
followUp. - manager
Role stringId - The ID of the manager incident role. Exactly one of
managerRoleIdormanagerUserIdmust be provided. - manager
User numberId - The ID of the manager user. Exactly one of
managerRoleIdormanagerUserIdmust be provided. - name string
- The name of the SLA
- notification
Configurations SlaNotification Configuration[] - Notification timing configurations
- position number
- Position of the SLA for ordering
- slug string
- The slug of the SLA
- assignment_
deadline_ intdays - Number of days for the assignment deadline
- assignment_
deadline_ strparent_ status - The incident parent status that triggers the assignment deadline
- completion_
deadline_ intdays - Number of days for the completion deadline
- completion_
deadline_ strparent_ status - The incident parent status that triggers the completion deadline
- assignment_
deadline_ strsub_ status_ id - Sub-status for the assignment deadline. Required when custom lifecycle statuses are enabled on the team.
- assignment_
skip_ boolweekends - Whether to skip weekends when calculating the assignment deadline. Value must be one of true or false
- completion_
deadline_ strsub_ status_ id - Sub-status for the completion deadline. Required when custom lifecycle statuses are enabled on the team.
- completion_
skip_ boolweekends - Whether to skip weekends when calculating the completion deadline. Value must be one of true or false
- condition_
match_ strtype - Whether all or any conditions must match. Value must be one of
ALL,ANY. - conditions
Sequence[Sla
Condition Args] - Conditions that determine which incidents this SLA applies to
- description str
- A description of the SLA
- entity_
type str - The entity type this SLA applies to. Value must be one of
followUp. - manager_
role_ strid - The ID of the manager incident role. Exactly one of
managerRoleIdormanagerUserIdmust be provided. - manager_
user_ intid - The ID of the manager user. Exactly one of
managerRoleIdormanagerUserIdmust be provided. - name str
- The name of the SLA
- notification_
configurations Sequence[SlaNotification Configuration Args] - Notification timing configurations
- position int
- Position of the SLA for ordering
- slug str
- The slug of the SLA
- assignment
Deadline NumberDays - Number of days for the assignment deadline
- assignment
Deadline StringParent Status - The incident parent status that triggers the assignment deadline
- completion
Deadline NumberDays - Number of days for the completion deadline
- completion
Deadline StringParent Status - The incident parent status that triggers the completion deadline
- assignment
Deadline StringSub Status Id - Sub-status for the assignment deadline. Required when custom lifecycle statuses are enabled on the team.
- assignment
Skip BooleanWeekends - Whether to skip weekends when calculating the assignment deadline. Value must be one of true or false
- completion
Deadline StringSub Status Id - Sub-status for the completion deadline. Required when custom lifecycle statuses are enabled on the team.
- completion
Skip BooleanWeekends - Whether to skip weekends when calculating the completion deadline. Value must be one of true or false
- condition
Match StringType - Whether all or any conditions must match. Value must be one of
ALL,ANY. - conditions List<Property Map>
- Conditions that determine which incidents this SLA applies to
- description String
- A description of the SLA
- entity
Type String - The entity type this SLA applies to. Value must be one of
followUp. - manager
Role StringId - The ID of the manager incident role. Exactly one of
managerRoleIdormanagerUserIdmust be provided. - manager
User NumberId - The ID of the manager user. Exactly one of
managerRoleIdormanagerUserIdmust be provided. - name String
- The name of the SLA
- notification
Configurations List<Property Map> - Notification timing configurations
- position Number
- Position of the SLA for ordering
- slug String
- The slug of the SLA
Outputs
All input properties are implicitly available as output properties. Additionally, the Sla resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Sla Resource
Get an existing Sla resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SlaState, opts?: CustomResourceOptions): Sla@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
assignment_deadline_days: Optional[int] = None,
assignment_deadline_parent_status: Optional[str] = None,
assignment_deadline_sub_status_id: Optional[str] = None,
assignment_skip_weekends: Optional[bool] = None,
completion_deadline_days: Optional[int] = None,
completion_deadline_parent_status: Optional[str] = None,
completion_deadline_sub_status_id: Optional[str] = None,
completion_skip_weekends: Optional[bool] = None,
condition_match_type: Optional[str] = None,
conditions: Optional[Sequence[SlaConditionArgs]] = None,
description: Optional[str] = None,
entity_type: Optional[str] = None,
manager_role_id: Optional[str] = None,
manager_user_id: Optional[int] = None,
name: Optional[str] = None,
notification_configurations: Optional[Sequence[SlaNotificationConfigurationArgs]] = None,
position: Optional[int] = None,
slug: Optional[str] = None) -> Slafunc GetSla(ctx *Context, name string, id IDInput, state *SlaState, opts ...ResourceOption) (*Sla, error)public static Sla Get(string name, Input<string> id, SlaState? state, CustomResourceOptions? opts = null)public static Sla get(String name, Output<String> id, SlaState state, CustomResourceOptions options)resources: _: type: rootly:Sla get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Assignment
Deadline intDays - Number of days for the assignment deadline
- Assignment
Deadline stringParent Status - The incident parent status that triggers the assignment deadline
- Assignment
Deadline stringSub Status Id - Sub-status for the assignment deadline. Required when custom lifecycle statuses are enabled on the team.
- Assignment
Skip boolWeekends - Whether to skip weekends when calculating the assignment deadline. Value must be one of true or false
- Completion
Deadline intDays - Number of days for the completion deadline
- Completion
Deadline stringParent Status - The incident parent status that triggers the completion deadline
- Completion
Deadline stringSub Status Id - Sub-status for the completion deadline. Required when custom lifecycle statuses are enabled on the team.
- Completion
Skip boolWeekends - Whether to skip weekends when calculating the completion deadline. Value must be one of true or false
- Condition
Match stringType - Whether all or any conditions must match. Value must be one of
ALL,ANY. - Conditions
List<Sla
Condition> - Conditions that determine which incidents this SLA applies to
- Description string
- A description of the SLA
- Entity
Type string - The entity type this SLA applies to. Value must be one of
followUp. - Manager
Role stringId - The ID of the manager incident role. Exactly one of
managerRoleIdormanagerUserIdmust be provided. - Manager
User intId - The ID of the manager user. Exactly one of
managerRoleIdormanagerUserIdmust be provided. - Name string
- The name of the SLA
- Notification
Configurations List<SlaNotification Configuration> - Notification timing configurations
- Position int
- Position of the SLA for ordering
- Slug string
- The slug of the SLA
- Assignment
Deadline intDays - Number of days for the assignment deadline
- Assignment
Deadline stringParent Status - The incident parent status that triggers the assignment deadline
- Assignment
Deadline stringSub Status Id - Sub-status for the assignment deadline. Required when custom lifecycle statuses are enabled on the team.
- Assignment
Skip boolWeekends - Whether to skip weekends when calculating the assignment deadline. Value must be one of true or false
- Completion
Deadline intDays - Number of days for the completion deadline
- Completion
Deadline stringParent Status - The incident parent status that triggers the completion deadline
- Completion
Deadline stringSub Status Id - Sub-status for the completion deadline. Required when custom lifecycle statuses are enabled on the team.
- Completion
Skip boolWeekends - Whether to skip weekends when calculating the completion deadline. Value must be one of true or false
- Condition
Match stringType - Whether all or any conditions must match. Value must be one of
ALL,ANY. - Conditions
[]Sla
Condition Args - Conditions that determine which incidents this SLA applies to
- Description string
- A description of the SLA
- Entity
Type string - The entity type this SLA applies to. Value must be one of
followUp. - Manager
Role stringId - The ID of the manager incident role. Exactly one of
managerRoleIdormanagerUserIdmust be provided. - Manager
User intId - The ID of the manager user. Exactly one of
managerRoleIdormanagerUserIdmust be provided. - Name string
- The name of the SLA
- Notification
Configurations []SlaNotification Configuration Args - Notification timing configurations
- Position int
- Position of the SLA for ordering
- Slug string
- The slug of the SLA
- assignment
Deadline IntegerDays - Number of days for the assignment deadline
- assignment
Deadline StringParent Status - The incident parent status that triggers the assignment deadline
- assignment
Deadline StringSub Status Id - Sub-status for the assignment deadline. Required when custom lifecycle statuses are enabled on the team.
- assignment
Skip BooleanWeekends - Whether to skip weekends when calculating the assignment deadline. Value must be one of true or false
- completion
Deadline IntegerDays - Number of days for the completion deadline
- completion
Deadline StringParent Status - The incident parent status that triggers the completion deadline
- completion
Deadline StringSub Status Id - Sub-status for the completion deadline. Required when custom lifecycle statuses are enabled on the team.
- completion
Skip BooleanWeekends - Whether to skip weekends when calculating the completion deadline. Value must be one of true or false
- condition
Match StringType - Whether all or any conditions must match. Value must be one of
ALL,ANY. - conditions
List<Sla
Condition> - Conditions that determine which incidents this SLA applies to
- description String
- A description of the SLA
- entity
Type String - The entity type this SLA applies to. Value must be one of
followUp. - manager
Role StringId - The ID of the manager incident role. Exactly one of
managerRoleIdormanagerUserIdmust be provided. - manager
User IntegerId - The ID of the manager user. Exactly one of
managerRoleIdormanagerUserIdmust be provided. - name String
- The name of the SLA
- notification
Configurations List<SlaNotification Configuration> - Notification timing configurations
- position Integer
- Position of the SLA for ordering
- slug String
- The slug of the SLA
- assignment
Deadline numberDays - Number of days for the assignment deadline
- assignment
Deadline stringParent Status - The incident parent status that triggers the assignment deadline
- assignment
Deadline stringSub Status Id - Sub-status for the assignment deadline. Required when custom lifecycle statuses are enabled on the team.
- assignment
Skip booleanWeekends - Whether to skip weekends when calculating the assignment deadline. Value must be one of true or false
- completion
Deadline numberDays - Number of days for the completion deadline
- completion
Deadline stringParent Status - The incident parent status that triggers the completion deadline
- completion
Deadline stringSub Status Id - Sub-status for the completion deadline. Required when custom lifecycle statuses are enabled on the team.
- completion
Skip booleanWeekends - Whether to skip weekends when calculating the completion deadline. Value must be one of true or false
- condition
Match stringType - Whether all or any conditions must match. Value must be one of
ALL,ANY. - conditions
Sla
Condition[] - Conditions that determine which incidents this SLA applies to
- description string
- A description of the SLA
- entity
Type string - The entity type this SLA applies to. Value must be one of
followUp. - manager
Role stringId - The ID of the manager incident role. Exactly one of
managerRoleIdormanagerUserIdmust be provided. - manager
User numberId - The ID of the manager user. Exactly one of
managerRoleIdormanagerUserIdmust be provided. - name string
- The name of the SLA
- notification
Configurations SlaNotification Configuration[] - Notification timing configurations
- position number
- Position of the SLA for ordering
- slug string
- The slug of the SLA
- assignment_
deadline_ intdays - Number of days for the assignment deadline
- assignment_
deadline_ strparent_ status - The incident parent status that triggers the assignment deadline
- assignment_
deadline_ strsub_ status_ id - Sub-status for the assignment deadline. Required when custom lifecycle statuses are enabled on the team.
- assignment_
skip_ boolweekends - Whether to skip weekends when calculating the assignment deadline. Value must be one of true or false
- completion_
deadline_ intdays - Number of days for the completion deadline
- completion_
deadline_ strparent_ status - The incident parent status that triggers the completion deadline
- completion_
deadline_ strsub_ status_ id - Sub-status for the completion deadline. Required when custom lifecycle statuses are enabled on the team.
- completion_
skip_ boolweekends - Whether to skip weekends when calculating the completion deadline. Value must be one of true or false
- condition_
match_ strtype - Whether all or any conditions must match. Value must be one of
ALL,ANY. - conditions
Sequence[Sla
Condition Args] - Conditions that determine which incidents this SLA applies to
- description str
- A description of the SLA
- entity_
type str - The entity type this SLA applies to. Value must be one of
followUp. - manager_
role_ strid - The ID of the manager incident role. Exactly one of
managerRoleIdormanagerUserIdmust be provided. - manager_
user_ intid - The ID of the manager user. Exactly one of
managerRoleIdormanagerUserIdmust be provided. - name str
- The name of the SLA
- notification_
configurations Sequence[SlaNotification Configuration Args] - Notification timing configurations
- position int
- Position of the SLA for ordering
- slug str
- The slug of the SLA
- assignment
Deadline NumberDays - Number of days for the assignment deadline
- assignment
Deadline StringParent Status - The incident parent status that triggers the assignment deadline
- assignment
Deadline StringSub Status Id - Sub-status for the assignment deadline. Required when custom lifecycle statuses are enabled on the team.
- assignment
Skip BooleanWeekends - Whether to skip weekends when calculating the assignment deadline. Value must be one of true or false
- completion
Deadline NumberDays - Number of days for the completion deadline
- completion
Deadline StringParent Status - The incident parent status that triggers the completion deadline
- completion
Deadline StringSub Status Id - Sub-status for the completion deadline. Required when custom lifecycle statuses are enabled on the team.
- completion
Skip BooleanWeekends - Whether to skip weekends when calculating the completion deadline. Value must be one of true or false
- condition
Match StringType - Whether all or any conditions must match. Value must be one of
ALL,ANY. - conditions List<Property Map>
- Conditions that determine which incidents this SLA applies to
- description String
- A description of the SLA
- entity
Type String - The entity type this SLA applies to. Value must be one of
followUp. - manager
Role StringId - The ID of the manager incident role. Exactly one of
managerRoleIdormanagerUserIdmust be provided. - manager
User NumberId - The ID of the manager user. Exactly one of
managerRoleIdormanagerUserIdmust be provided. - name String
- The name of the SLA
- notification
Configurations List<Property Map> - Notification timing configurations
- position Number
- Position of the SLA for ordering
- slug String
- The slug of the SLA
Supporting Types
SlaCondition, SlaConditionArgs
- Conditionable
Type string - The type of condition. Value must be one of
SLAs::BuiltInFieldCondition,SLAs::CustomFieldCondition. - Form
Field stringId - The ID of the form field (for custom field conditions)
- Id string
- Unique ID of the condition
- Operator string
- The comparison operator
- Position int
- The position of the condition
- Property string
- The property to evaluate (for built-in field conditions)
- Values List<string>
- The values to compare against
- Conditionable
Type string - The type of condition. Value must be one of
SLAs::BuiltInFieldCondition,SLAs::CustomFieldCondition. - Form
Field stringId - The ID of the form field (for custom field conditions)
- Id string
- Unique ID of the condition
- Operator string
- The comparison operator
- Position int
- The position of the condition
- Property string
- The property to evaluate (for built-in field conditions)
- Values []string
- The values to compare against
- conditionable
Type String - The type of condition. Value must be one of
SLAs::BuiltInFieldCondition,SLAs::CustomFieldCondition. - form
Field StringId - The ID of the form field (for custom field conditions)
- id String
- Unique ID of the condition
- operator String
- The comparison operator
- position Integer
- The position of the condition
- property String
- The property to evaluate (for built-in field conditions)
- values List<String>
- The values to compare against
- conditionable
Type string - The type of condition. Value must be one of
SLAs::BuiltInFieldCondition,SLAs::CustomFieldCondition. - form
Field stringId - The ID of the form field (for custom field conditions)
- id string
- Unique ID of the condition
- operator string
- The comparison operator
- position number
- The position of the condition
- property string
- The property to evaluate (for built-in field conditions)
- values string[]
- The values to compare against
- conditionable_
type str - The type of condition. Value must be one of
SLAs::BuiltInFieldCondition,SLAs::CustomFieldCondition. - form_
field_ strid - The ID of the form field (for custom field conditions)
- id str
- Unique ID of the condition
- operator str
- The comparison operator
- position int
- The position of the condition
- property str
- The property to evaluate (for built-in field conditions)
- values Sequence[str]
- The values to compare against
- conditionable
Type String - The type of condition. Value must be one of
SLAs::BuiltInFieldCondition,SLAs::CustomFieldCondition. - form
Field StringId - The ID of the form field (for custom field conditions)
- id String
- Unique ID of the condition
- operator String
- The comparison operator
- position Number
- The position of the condition
- property String
- The property to evaluate (for built-in field conditions)
- values List<String>
- The values to compare against
SlaNotificationConfiguration, SlaNotificationConfigurationArgs
- Created
At string - Date of creation
- Id string
- Unique ID of the notification configuration
- Offset
Days int - Number of days offset from the deadline
- Offset
Type string - When to send the notification relative to the deadline. Value must be one of
beforeDue,whenDue,afterDue. - Updated
At string - Date of last update
- Created
At string - Date of creation
- Id string
- Unique ID of the notification configuration
- Offset
Days int - Number of days offset from the deadline
- Offset
Type string - When to send the notification relative to the deadline. Value must be one of
beforeDue,whenDue,afterDue. - Updated
At string - Date of last update
- created
At String - Date of creation
- id String
- Unique ID of the notification configuration
- offset
Days Integer - Number of days offset from the deadline
- offset
Type String - When to send the notification relative to the deadline. Value must be one of
beforeDue,whenDue,afterDue. - updated
At String - Date of last update
- created
At string - Date of creation
- id string
- Unique ID of the notification configuration
- offset
Days number - Number of days offset from the deadline
- offset
Type string - When to send the notification relative to the deadline. Value must be one of
beforeDue,whenDue,afterDue. - updated
At string - Date of last update
- created_
at str - Date of creation
- id str
- Unique ID of the notification configuration
- offset_
days int - Number of days offset from the deadline
- offset_
type str - When to send the notification relative to the deadline. Value must be one of
beforeDue,whenDue,afterDue. - updated_
at str - Date of last update
- created
At String - Date of creation
- id String
- Unique ID of the notification configuration
- offset
Days Number - Number of days offset from the deadline
- offset
Type String - When to send the notification relative to the deadline. Value must be one of
beforeDue,whenDue,afterDue. - updated
At String - Date of last update
Import
rootly.Sla can be imported using the import command.
$ pulumi import rootly:index/sla:Sla primary a816421c-6ceb-481a-87c4-585e47451f24
Or using an import block.
Locate the resource id in the web app, or retrieve it by listing resources through the API if it’s not visible in the web app.
HCL can be generated from the import block using the -generate-config-out flag.
pulumi preview -generate-config-out=generated.tf
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rootlyTerraform Provider.
published on Thursday, May 7, 2026 by rootlyhq
