published on Thursday, May 7, 2026 by rootlyhq
published on Thursday, May 7, 2026 by rootlyhq
Example Usage
data "rootly_user" "john" {
email = "demo@rootly.com"
}
data "rootly_user" "jane" {
email = "demo1@rootly.com"
}
resource "rootly_team" "sre" {
name = "SREs On-Call"
user_ids = [data.rootly_user.john.id, data.rootly_user.jane.id]
}
Create Team Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Team(name: string, args?: TeamArgs, opts?: CustomResourceOptions);@overload
def Team(resource_name: str,
args: Optional[TeamArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Team(resource_name: str,
opts: Optional[ResourceOptions] = None,
admin_ids: Optional[Sequence[int]] = None,
alert_broadcast_channel: Optional[TeamAlertBroadcastChannelArgs] = None,
alert_broadcast_enabled: Optional[bool] = None,
alert_urgency_id: Optional[str] = None,
auto_add_members_when_attached: Optional[bool] = None,
backstage_id: Optional[str] = None,
color: Optional[str] = None,
cortex_id: Optional[str] = None,
description: Optional[str] = None,
external_id: Optional[str] = None,
incident_broadcast_channel: Optional[TeamIncidentBroadcastChannelArgs] = None,
incident_broadcast_enabled: Optional[bool] = None,
name: Optional[str] = None,
notify_emails: Optional[Sequence[str]] = None,
opsgenie_id: Optional[str] = None,
pagerduty_id: Optional[str] = None,
pagerduty_service_id: Optional[str] = None,
pagertree_id: Optional[str] = None,
position: Optional[int] = None,
properties: Optional[Sequence[TeamPropertyArgs]] = None,
service_now_ci_sys_id: Optional[str] = None,
slack_aliases: Optional[Sequence[TeamSlackAliasArgs]] = None,
slack_channels: Optional[Sequence[TeamSlackChannelArgs]] = None,
slug: Optional[str] = None,
user_ids: Optional[Sequence[int]] = None,
victor_ops_id: Optional[str] = None)func NewTeam(ctx *Context, name string, args *TeamArgs, opts ...ResourceOption) (*Team, error)public Team(string name, TeamArgs? args = null, CustomResourceOptions? opts = null)type: rootly:Team
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 TeamArgs
- 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 TeamArgs
- 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 TeamArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TeamArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TeamArgs
- 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 teamResource = new Rootly.Team("teamResource", new()
{
AdminIds = new[]
{
0,
},
AlertBroadcastChannel = new Rootly.Inputs.TeamAlertBroadcastChannelArgs
{
Id = "string",
Name = "string",
},
AlertBroadcastEnabled = false,
AlertUrgencyId = "string",
AutoAddMembersWhenAttached = false,
BackstageId = "string",
Color = "string",
CortexId = "string",
Description = "string",
ExternalId = "string",
IncidentBroadcastChannel = new Rootly.Inputs.TeamIncidentBroadcastChannelArgs
{
Id = "string",
Name = "string",
},
IncidentBroadcastEnabled = false,
Name = "string",
NotifyEmails = new[]
{
"string",
},
OpsgenieId = "string",
PagerdutyId = "string",
PagerdutyServiceId = "string",
PagertreeId = "string",
Position = 0,
Properties = new[]
{
new Rootly.Inputs.TeamPropertyArgs
{
CatalogPropertyId = "string",
Value = "string",
},
},
ServiceNowCiSysId = "string",
SlackAliases = new[]
{
new Rootly.Inputs.TeamSlackAliasArgs
{
Id = "string",
Name = "string",
},
},
SlackChannels = new[]
{
new Rootly.Inputs.TeamSlackChannelArgs
{
Id = "string",
Name = "string",
},
},
Slug = "string",
UserIds = new[]
{
0,
},
VictorOpsId = "string",
});
example, err := rootly.NewTeam(ctx, "teamResource", &rootly.TeamArgs{
AdminIds: pulumi.IntArray{
pulumi.Int(0),
},
AlertBroadcastChannel: &rootly.TeamAlertBroadcastChannelArgs{
Id: pulumi.String("string"),
Name: pulumi.String("string"),
},
AlertBroadcastEnabled: pulumi.Bool(false),
AlertUrgencyId: pulumi.String("string"),
AutoAddMembersWhenAttached: pulumi.Bool(false),
BackstageId: pulumi.String("string"),
Color: pulumi.String("string"),
CortexId: pulumi.String("string"),
Description: pulumi.String("string"),
ExternalId: pulumi.String("string"),
IncidentBroadcastChannel: &rootly.TeamIncidentBroadcastChannelArgs{
Id: pulumi.String("string"),
Name: pulumi.String("string"),
},
IncidentBroadcastEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
NotifyEmails: pulumi.StringArray{
pulumi.String("string"),
},
OpsgenieId: pulumi.String("string"),
PagerdutyId: pulumi.String("string"),
PagerdutyServiceId: pulumi.String("string"),
PagertreeId: pulumi.String("string"),
Position: pulumi.Int(0),
Properties: rootly.TeamPropertyArray{
&rootly.TeamPropertyArgs{
CatalogPropertyId: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
ServiceNowCiSysId: pulumi.String("string"),
SlackAliases: rootly.TeamSlackAliasArray{
&rootly.TeamSlackAliasArgs{
Id: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
SlackChannels: rootly.TeamSlackChannelArray{
&rootly.TeamSlackChannelArgs{
Id: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
Slug: pulumi.String("string"),
UserIds: pulumi.IntArray{
pulumi.Int(0),
},
VictorOpsId: pulumi.String("string"),
})
var teamResource = new Team("teamResource", TeamArgs.builder()
.adminIds(0)
.alertBroadcastChannel(TeamAlertBroadcastChannelArgs.builder()
.id("string")
.name("string")
.build())
.alertBroadcastEnabled(false)
.alertUrgencyId("string")
.autoAddMembersWhenAttached(false)
.backstageId("string")
.color("string")
.cortexId("string")
.description("string")
.externalId("string")
.incidentBroadcastChannel(TeamIncidentBroadcastChannelArgs.builder()
.id("string")
.name("string")
.build())
.incidentBroadcastEnabled(false)
.name("string")
.notifyEmails("string")
.opsgenieId("string")
.pagerdutyId("string")
.pagerdutyServiceId("string")
.pagertreeId("string")
.position(0)
.properties(TeamPropertyArgs.builder()
.catalogPropertyId("string")
.value("string")
.build())
.serviceNowCiSysId("string")
.slackAliases(TeamSlackAliasArgs.builder()
.id("string")
.name("string")
.build())
.slackChannels(TeamSlackChannelArgs.builder()
.id("string")
.name("string")
.build())
.slug("string")
.userIds(0)
.victorOpsId("string")
.build());
team_resource = rootly.Team("teamResource",
admin_ids=[0],
alert_broadcast_channel={
"id": "string",
"name": "string",
},
alert_broadcast_enabled=False,
alert_urgency_id="string",
auto_add_members_when_attached=False,
backstage_id="string",
color="string",
cortex_id="string",
description="string",
external_id="string",
incident_broadcast_channel={
"id": "string",
"name": "string",
},
incident_broadcast_enabled=False,
name="string",
notify_emails=["string"],
opsgenie_id="string",
pagerduty_id="string",
pagerduty_service_id="string",
pagertree_id="string",
position=0,
properties=[{
"catalog_property_id": "string",
"value": "string",
}],
service_now_ci_sys_id="string",
slack_aliases=[{
"id": "string",
"name": "string",
}],
slack_channels=[{
"id": "string",
"name": "string",
}],
slug="string",
user_ids=[0],
victor_ops_id="string")
const teamResource = new rootly.Team("teamResource", {
adminIds: [0],
alertBroadcastChannel: {
id: "string",
name: "string",
},
alertBroadcastEnabled: false,
alertUrgencyId: "string",
autoAddMembersWhenAttached: false,
backstageId: "string",
color: "string",
cortexId: "string",
description: "string",
externalId: "string",
incidentBroadcastChannel: {
id: "string",
name: "string",
},
incidentBroadcastEnabled: false,
name: "string",
notifyEmails: ["string"],
opsgenieId: "string",
pagerdutyId: "string",
pagerdutyServiceId: "string",
pagertreeId: "string",
position: 0,
properties: [{
catalogPropertyId: "string",
value: "string",
}],
serviceNowCiSysId: "string",
slackAliases: [{
id: "string",
name: "string",
}],
slackChannels: [{
id: "string",
name: "string",
}],
slug: "string",
userIds: [0],
victorOpsId: "string",
});
type: rootly:Team
properties:
adminIds:
- 0
alertBroadcastChannel:
id: string
name: string
alertBroadcastEnabled: false
alertUrgencyId: string
autoAddMembersWhenAttached: false
backstageId: string
color: string
cortexId: string
description: string
externalId: string
incidentBroadcastChannel:
id: string
name: string
incidentBroadcastEnabled: false
name: string
notifyEmails:
- string
opsgenieId: string
pagerdutyId: string
pagerdutyServiceId: string
pagertreeId: string
position: 0
properties:
- catalogPropertyId: string
value: string
serviceNowCiSysId: string
slackAliases:
- id: string
name: string
slackChannels:
- id: string
name: string
slug: string
userIds:
- 0
victorOpsId: string
Team 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 Team resource accepts the following input properties:
- Admin
Ids List<int> - The user ids of the admins of this team. These users must also be present in userIds attribute.
- Alert
Broadcast TeamChannel Alert Broadcast Channel - Map must contain two fields,
idandname. Slack channel to broadcast alerts to - Alert
Broadcast boolEnabled - Enable alerts to be broadcasted to a specific channel. Value must be one of true or false
- Alert
Urgency stringId - The alert urgency id of the team
- Auto
Add boolMembers When Attached - Auto add members to incident channel when team is attached. Value must be one of true or false
- Backstage
Id string - The Backstage entity id associated to this team. eg: :namespace/:kind/:entity_name
- Color string
- The hex color of the team
- Cortex
Id string - The Cortex group id associated to this team
- Description string
- The description of the team
- External
Id string - The external id associated to this team
- Incident
Broadcast TeamChannel Incident Broadcast Channel - Map must contain two fields,
idandname. Slack channel to broadcast incidents to - Incident
Broadcast boolEnabled - Enable incidents to be broadcasted to a specific channel. Value must be one of true or false
- Name string
- The name of the team
- Notify
Emails List<string> - Emails to attach to the team
- Opsgenie
Id string - The Opsgenie group id associated to this team
- Pagerduty
Id string - The PagerDuty group id associated to this team
- Pagerduty
Service stringId - The PagerDuty service id associated to this team
- Pagertree
Id string - The PagerTree group id associated to this team
- Position int
- Position of the team
- Properties
List<Team
Property> - Array of property values for this team.
- Service
Now stringCi Sys Id - The Service Now CI sys id associated to this team
- Slack
Aliases List<TeamSlack Alias> - Slack Aliases associated with this team
- Slack
Channels List<TeamSlack Channel> - Slack Channels associated with this team
- Slug string
- User
Ids List<int> - The user ids of the members of this team.
- Victor
Ops stringId - The VictorOps group id associated to this team
- Admin
Ids []int - The user ids of the admins of this team. These users must also be present in userIds attribute.
- Alert
Broadcast TeamChannel Alert Broadcast Channel Args - Map must contain two fields,
idandname. Slack channel to broadcast alerts to - Alert
Broadcast boolEnabled - Enable alerts to be broadcasted to a specific channel. Value must be one of true or false
- Alert
Urgency stringId - The alert urgency id of the team
- Auto
Add boolMembers When Attached - Auto add members to incident channel when team is attached. Value must be one of true or false
- Backstage
Id string - The Backstage entity id associated to this team. eg: :namespace/:kind/:entity_name
- Color string
- The hex color of the team
- Cortex
Id string - The Cortex group id associated to this team
- Description string
- The description of the team
- External
Id string - The external id associated to this team
- Incident
Broadcast TeamChannel Incident Broadcast Channel Args - Map must contain two fields,
idandname. Slack channel to broadcast incidents to - Incident
Broadcast boolEnabled - Enable incidents to be broadcasted to a specific channel. Value must be one of true or false
- Name string
- The name of the team
- Notify
Emails []string - Emails to attach to the team
- Opsgenie
Id string - The Opsgenie group id associated to this team
- Pagerduty
Id string - The PagerDuty group id associated to this team
- Pagerduty
Service stringId - The PagerDuty service id associated to this team
- Pagertree
Id string - The PagerTree group id associated to this team
- Position int
- Position of the team
- Properties
[]Team
Property Args - Array of property values for this team.
- Service
Now stringCi Sys Id - The Service Now CI sys id associated to this team
- Slack
Aliases []TeamSlack Alias Args - Slack Aliases associated with this team
- Slack
Channels []TeamSlack Channel Args - Slack Channels associated with this team
- Slug string
- User
Ids []int - The user ids of the members of this team.
- Victor
Ops stringId - The VictorOps group id associated to this team
- admin
Ids List<Integer> - The user ids of the admins of this team. These users must also be present in userIds attribute.
- alert
Broadcast TeamChannel Alert Broadcast Channel - Map must contain two fields,
idandname. Slack channel to broadcast alerts to - alert
Broadcast BooleanEnabled - Enable alerts to be broadcasted to a specific channel. Value must be one of true or false
- alert
Urgency StringId - The alert urgency id of the team
- auto
Add BooleanMembers When Attached - Auto add members to incident channel when team is attached. Value must be one of true or false
- backstage
Id String - The Backstage entity id associated to this team. eg: :namespace/:kind/:entity_name
- color String
- The hex color of the team
- cortex
Id String - The Cortex group id associated to this team
- description String
- The description of the team
- external
Id String - The external id associated to this team
- incident
Broadcast TeamChannel Incident Broadcast Channel - Map must contain two fields,
idandname. Slack channel to broadcast incidents to - incident
Broadcast BooleanEnabled - Enable incidents to be broadcasted to a specific channel. Value must be one of true or false
- name String
- The name of the team
- notify
Emails List<String> - Emails to attach to the team
- opsgenie
Id String - The Opsgenie group id associated to this team
- pagerduty
Id String - The PagerDuty group id associated to this team
- pagerduty
Service StringId - The PagerDuty service id associated to this team
- pagertree
Id String - The PagerTree group id associated to this team
- position Integer
- Position of the team
- properties
List<Team
Property> - Array of property values for this team.
- service
Now StringCi Sys Id - The Service Now CI sys id associated to this team
- slack
Aliases List<TeamSlack Alias> - Slack Aliases associated with this team
- slack
Channels List<TeamSlack Channel> - Slack Channels associated with this team
- slug String
- user
Ids List<Integer> - The user ids of the members of this team.
- victor
Ops StringId - The VictorOps group id associated to this team
- admin
Ids number[] - The user ids of the admins of this team. These users must also be present in userIds attribute.
- alert
Broadcast TeamChannel Alert Broadcast Channel - Map must contain two fields,
idandname. Slack channel to broadcast alerts to - alert
Broadcast booleanEnabled - Enable alerts to be broadcasted to a specific channel. Value must be one of true or false
- alert
Urgency stringId - The alert urgency id of the team
- auto
Add booleanMembers When Attached - Auto add members to incident channel when team is attached. Value must be one of true or false
- backstage
Id string - The Backstage entity id associated to this team. eg: :namespace/:kind/:entity_name
- color string
- The hex color of the team
- cortex
Id string - The Cortex group id associated to this team
- description string
- The description of the team
- external
Id string - The external id associated to this team
- incident
Broadcast TeamChannel Incident Broadcast Channel - Map must contain two fields,
idandname. Slack channel to broadcast incidents to - incident
Broadcast booleanEnabled - Enable incidents to be broadcasted to a specific channel. Value must be one of true or false
- name string
- The name of the team
- notify
Emails string[] - Emails to attach to the team
- opsgenie
Id string - The Opsgenie group id associated to this team
- pagerduty
Id string - The PagerDuty group id associated to this team
- pagerduty
Service stringId - The PagerDuty service id associated to this team
- pagertree
Id string - The PagerTree group id associated to this team
- position number
- Position of the team
- properties
Team
Property[] - Array of property values for this team.
- service
Now stringCi Sys Id - The Service Now CI sys id associated to this team
- slack
Aliases TeamSlack Alias[] - Slack Aliases associated with this team
- slack
Channels TeamSlack Channel[] - Slack Channels associated with this team
- slug string
- user
Ids number[] - The user ids of the members of this team.
- victor
Ops stringId - The VictorOps group id associated to this team
- admin_
ids Sequence[int] - The user ids of the admins of this team. These users must also be present in userIds attribute.
- alert_
broadcast_ Teamchannel Alert Broadcast Channel Args - Map must contain two fields,
idandname. Slack channel to broadcast alerts to - alert_
broadcast_ boolenabled - Enable alerts to be broadcasted to a specific channel. Value must be one of true or false
- alert_
urgency_ strid - The alert urgency id of the team
- auto_
add_ boolmembers_ when_ attached - Auto add members to incident channel when team is attached. Value must be one of true or false
- backstage_
id str - The Backstage entity id associated to this team. eg: :namespace/:kind/:entity_name
- color str
- The hex color of the team
- cortex_
id str - The Cortex group id associated to this team
- description str
- The description of the team
- external_
id str - The external id associated to this team
- incident_
broadcast_ Teamchannel Incident Broadcast Channel Args - Map must contain two fields,
idandname. Slack channel to broadcast incidents to - incident_
broadcast_ boolenabled - Enable incidents to be broadcasted to a specific channel. Value must be one of true or false
- name str
- The name of the team
- notify_
emails Sequence[str] - Emails to attach to the team
- opsgenie_
id str - The Opsgenie group id associated to this team
- pagerduty_
id str - The PagerDuty group id associated to this team
- pagerduty_
service_ strid - The PagerDuty service id associated to this team
- pagertree_
id str - The PagerTree group id associated to this team
- position int
- Position of the team
- properties
Sequence[Team
Property Args] - Array of property values for this team.
- service_
now_ strci_ sys_ id - The Service Now CI sys id associated to this team
- slack_
aliases Sequence[TeamSlack Alias Args] - Slack Aliases associated with this team
- slack_
channels Sequence[TeamSlack Channel Args] - Slack Channels associated with this team
- slug str
- user_
ids Sequence[int] - The user ids of the members of this team.
- victor_
ops_ strid - The VictorOps group id associated to this team
- admin
Ids List<Number> - The user ids of the admins of this team. These users must also be present in userIds attribute.
- alert
Broadcast Property MapChannel - Map must contain two fields,
idandname. Slack channel to broadcast alerts to - alert
Broadcast BooleanEnabled - Enable alerts to be broadcasted to a specific channel. Value must be one of true or false
- alert
Urgency StringId - The alert urgency id of the team
- auto
Add BooleanMembers When Attached - Auto add members to incident channel when team is attached. Value must be one of true or false
- backstage
Id String - The Backstage entity id associated to this team. eg: :namespace/:kind/:entity_name
- color String
- The hex color of the team
- cortex
Id String - The Cortex group id associated to this team
- description String
- The description of the team
- external
Id String - The external id associated to this team
- incident
Broadcast Property MapChannel - Map must contain two fields,
idandname. Slack channel to broadcast incidents to - incident
Broadcast BooleanEnabled - Enable incidents to be broadcasted to a specific channel. Value must be one of true or false
- name String
- The name of the team
- notify
Emails List<String> - Emails to attach to the team
- opsgenie
Id String - The Opsgenie group id associated to this team
- pagerduty
Id String - The PagerDuty group id associated to this team
- pagerduty
Service StringId - The PagerDuty service id associated to this team
- pagertree
Id String - The PagerTree group id associated to this team
- position Number
- Position of the team
- properties List<Property Map>
- Array of property values for this team.
- service
Now StringCi Sys Id - The Service Now CI sys id associated to this team
- slack
Aliases List<Property Map> - Slack Aliases associated with this team
- slack
Channels List<Property Map> - Slack Channels associated with this team
- slug String
- user
Ids List<Number> - The user ids of the members of this team.
- victor
Ops StringId - The VictorOps group id associated to this team
Outputs
All input properties are implicitly available as output properties. Additionally, the Team 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 Team Resource
Get an existing Team 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?: TeamState, opts?: CustomResourceOptions): Team@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
admin_ids: Optional[Sequence[int]] = None,
alert_broadcast_channel: Optional[TeamAlertBroadcastChannelArgs] = None,
alert_broadcast_enabled: Optional[bool] = None,
alert_urgency_id: Optional[str] = None,
auto_add_members_when_attached: Optional[bool] = None,
backstage_id: Optional[str] = None,
color: Optional[str] = None,
cortex_id: Optional[str] = None,
description: Optional[str] = None,
external_id: Optional[str] = None,
incident_broadcast_channel: Optional[TeamIncidentBroadcastChannelArgs] = None,
incident_broadcast_enabled: Optional[bool] = None,
name: Optional[str] = None,
notify_emails: Optional[Sequence[str]] = None,
opsgenie_id: Optional[str] = None,
pagerduty_id: Optional[str] = None,
pagerduty_service_id: Optional[str] = None,
pagertree_id: Optional[str] = None,
position: Optional[int] = None,
properties: Optional[Sequence[TeamPropertyArgs]] = None,
service_now_ci_sys_id: Optional[str] = None,
slack_aliases: Optional[Sequence[TeamSlackAliasArgs]] = None,
slack_channels: Optional[Sequence[TeamSlackChannelArgs]] = None,
slug: Optional[str] = None,
user_ids: Optional[Sequence[int]] = None,
victor_ops_id: Optional[str] = None) -> Teamfunc GetTeam(ctx *Context, name string, id IDInput, state *TeamState, opts ...ResourceOption) (*Team, error)public static Team Get(string name, Input<string> id, TeamState? state, CustomResourceOptions? opts = null)public static Team get(String name, Output<String> id, TeamState state, CustomResourceOptions options)resources: _: type: rootly:Team 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.
- Admin
Ids List<int> - The user ids of the admins of this team. These users must also be present in userIds attribute.
- Alert
Broadcast TeamChannel Alert Broadcast Channel - Map must contain two fields,
idandname. Slack channel to broadcast alerts to - Alert
Broadcast boolEnabled - Enable alerts to be broadcasted to a specific channel. Value must be one of true or false
- Alert
Urgency stringId - The alert urgency id of the team
- Auto
Add boolMembers When Attached - Auto add members to incident channel when team is attached. Value must be one of true or false
- Backstage
Id string - The Backstage entity id associated to this team. eg: :namespace/:kind/:entity_name
- Color string
- The hex color of the team
- Cortex
Id string - The Cortex group id associated to this team
- Description string
- The description of the team
- External
Id string - The external id associated to this team
- Incident
Broadcast TeamChannel Incident Broadcast Channel - Map must contain two fields,
idandname. Slack channel to broadcast incidents to - Incident
Broadcast boolEnabled - Enable incidents to be broadcasted to a specific channel. Value must be one of true or false
- Name string
- The name of the team
- Notify
Emails List<string> - Emails to attach to the team
- Opsgenie
Id string - The Opsgenie group id associated to this team
- Pagerduty
Id string - The PagerDuty group id associated to this team
- Pagerduty
Service stringId - The PagerDuty service id associated to this team
- Pagertree
Id string - The PagerTree group id associated to this team
- Position int
- Position of the team
- Properties
List<Team
Property> - Array of property values for this team.
- Service
Now stringCi Sys Id - The Service Now CI sys id associated to this team
- Slack
Aliases List<TeamSlack Alias> - Slack Aliases associated with this team
- Slack
Channels List<TeamSlack Channel> - Slack Channels associated with this team
- Slug string
- User
Ids List<int> - The user ids of the members of this team.
- Victor
Ops stringId - The VictorOps group id associated to this team
- Admin
Ids []int - The user ids of the admins of this team. These users must also be present in userIds attribute.
- Alert
Broadcast TeamChannel Alert Broadcast Channel Args - Map must contain two fields,
idandname. Slack channel to broadcast alerts to - Alert
Broadcast boolEnabled - Enable alerts to be broadcasted to a specific channel. Value must be one of true or false
- Alert
Urgency stringId - The alert urgency id of the team
- Auto
Add boolMembers When Attached - Auto add members to incident channel when team is attached. Value must be one of true or false
- Backstage
Id string - The Backstage entity id associated to this team. eg: :namespace/:kind/:entity_name
- Color string
- The hex color of the team
- Cortex
Id string - The Cortex group id associated to this team
- Description string
- The description of the team
- External
Id string - The external id associated to this team
- Incident
Broadcast TeamChannel Incident Broadcast Channel Args - Map must contain two fields,
idandname. Slack channel to broadcast incidents to - Incident
Broadcast boolEnabled - Enable incidents to be broadcasted to a specific channel. Value must be one of true or false
- Name string
- The name of the team
- Notify
Emails []string - Emails to attach to the team
- Opsgenie
Id string - The Opsgenie group id associated to this team
- Pagerduty
Id string - The PagerDuty group id associated to this team
- Pagerduty
Service stringId - The PagerDuty service id associated to this team
- Pagertree
Id string - The PagerTree group id associated to this team
- Position int
- Position of the team
- Properties
[]Team
Property Args - Array of property values for this team.
- Service
Now stringCi Sys Id - The Service Now CI sys id associated to this team
- Slack
Aliases []TeamSlack Alias Args - Slack Aliases associated with this team
- Slack
Channels []TeamSlack Channel Args - Slack Channels associated with this team
- Slug string
- User
Ids []int - The user ids of the members of this team.
- Victor
Ops stringId - The VictorOps group id associated to this team
- admin
Ids List<Integer> - The user ids of the admins of this team. These users must also be present in userIds attribute.
- alert
Broadcast TeamChannel Alert Broadcast Channel - Map must contain two fields,
idandname. Slack channel to broadcast alerts to - alert
Broadcast BooleanEnabled - Enable alerts to be broadcasted to a specific channel. Value must be one of true or false
- alert
Urgency StringId - The alert urgency id of the team
- auto
Add BooleanMembers When Attached - Auto add members to incident channel when team is attached. Value must be one of true or false
- backstage
Id String - The Backstage entity id associated to this team. eg: :namespace/:kind/:entity_name
- color String
- The hex color of the team
- cortex
Id String - The Cortex group id associated to this team
- description String
- The description of the team
- external
Id String - The external id associated to this team
- incident
Broadcast TeamChannel Incident Broadcast Channel - Map must contain two fields,
idandname. Slack channel to broadcast incidents to - incident
Broadcast BooleanEnabled - Enable incidents to be broadcasted to a specific channel. Value must be one of true or false
- name String
- The name of the team
- notify
Emails List<String> - Emails to attach to the team
- opsgenie
Id String - The Opsgenie group id associated to this team
- pagerduty
Id String - The PagerDuty group id associated to this team
- pagerduty
Service StringId - The PagerDuty service id associated to this team
- pagertree
Id String - The PagerTree group id associated to this team
- position Integer
- Position of the team
- properties
List<Team
Property> - Array of property values for this team.
- service
Now StringCi Sys Id - The Service Now CI sys id associated to this team
- slack
Aliases List<TeamSlack Alias> - Slack Aliases associated with this team
- slack
Channels List<TeamSlack Channel> - Slack Channels associated with this team
- slug String
- user
Ids List<Integer> - The user ids of the members of this team.
- victor
Ops StringId - The VictorOps group id associated to this team
- admin
Ids number[] - The user ids of the admins of this team. These users must also be present in userIds attribute.
- alert
Broadcast TeamChannel Alert Broadcast Channel - Map must contain two fields,
idandname. Slack channel to broadcast alerts to - alert
Broadcast booleanEnabled - Enable alerts to be broadcasted to a specific channel. Value must be one of true or false
- alert
Urgency stringId - The alert urgency id of the team
- auto
Add booleanMembers When Attached - Auto add members to incident channel when team is attached. Value must be one of true or false
- backstage
Id string - The Backstage entity id associated to this team. eg: :namespace/:kind/:entity_name
- color string
- The hex color of the team
- cortex
Id string - The Cortex group id associated to this team
- description string
- The description of the team
- external
Id string - The external id associated to this team
- incident
Broadcast TeamChannel Incident Broadcast Channel - Map must contain two fields,
idandname. Slack channel to broadcast incidents to - incident
Broadcast booleanEnabled - Enable incidents to be broadcasted to a specific channel. Value must be one of true or false
- name string
- The name of the team
- notify
Emails string[] - Emails to attach to the team
- opsgenie
Id string - The Opsgenie group id associated to this team
- pagerduty
Id string - The PagerDuty group id associated to this team
- pagerduty
Service stringId - The PagerDuty service id associated to this team
- pagertree
Id string - The PagerTree group id associated to this team
- position number
- Position of the team
- properties
Team
Property[] - Array of property values for this team.
- service
Now stringCi Sys Id - The Service Now CI sys id associated to this team
- slack
Aliases TeamSlack Alias[] - Slack Aliases associated with this team
- slack
Channels TeamSlack Channel[] - Slack Channels associated with this team
- slug string
- user
Ids number[] - The user ids of the members of this team.
- victor
Ops stringId - The VictorOps group id associated to this team
- admin_
ids Sequence[int] - The user ids of the admins of this team. These users must also be present in userIds attribute.
- alert_
broadcast_ Teamchannel Alert Broadcast Channel Args - Map must contain two fields,
idandname. Slack channel to broadcast alerts to - alert_
broadcast_ boolenabled - Enable alerts to be broadcasted to a specific channel. Value must be one of true or false
- alert_
urgency_ strid - The alert urgency id of the team
- auto_
add_ boolmembers_ when_ attached - Auto add members to incident channel when team is attached. Value must be one of true or false
- backstage_
id str - The Backstage entity id associated to this team. eg: :namespace/:kind/:entity_name
- color str
- The hex color of the team
- cortex_
id str - The Cortex group id associated to this team
- description str
- The description of the team
- external_
id str - The external id associated to this team
- incident_
broadcast_ Teamchannel Incident Broadcast Channel Args - Map must contain two fields,
idandname. Slack channel to broadcast incidents to - incident_
broadcast_ boolenabled - Enable incidents to be broadcasted to a specific channel. Value must be one of true or false
- name str
- The name of the team
- notify_
emails Sequence[str] - Emails to attach to the team
- opsgenie_
id str - The Opsgenie group id associated to this team
- pagerduty_
id str - The PagerDuty group id associated to this team
- pagerduty_
service_ strid - The PagerDuty service id associated to this team
- pagertree_
id str - The PagerTree group id associated to this team
- position int
- Position of the team
- properties
Sequence[Team
Property Args] - Array of property values for this team.
- service_
now_ strci_ sys_ id - The Service Now CI sys id associated to this team
- slack_
aliases Sequence[TeamSlack Alias Args] - Slack Aliases associated with this team
- slack_
channels Sequence[TeamSlack Channel Args] - Slack Channels associated with this team
- slug str
- user_
ids Sequence[int] - The user ids of the members of this team.
- victor_
ops_ strid - The VictorOps group id associated to this team
- admin
Ids List<Number> - The user ids of the admins of this team. These users must also be present in userIds attribute.
- alert
Broadcast Property MapChannel - Map must contain two fields,
idandname. Slack channel to broadcast alerts to - alert
Broadcast BooleanEnabled - Enable alerts to be broadcasted to a specific channel. Value must be one of true or false
- alert
Urgency StringId - The alert urgency id of the team
- auto
Add BooleanMembers When Attached - Auto add members to incident channel when team is attached. Value must be one of true or false
- backstage
Id String - The Backstage entity id associated to this team. eg: :namespace/:kind/:entity_name
- color String
- The hex color of the team
- cortex
Id String - The Cortex group id associated to this team
- description String
- The description of the team
- external
Id String - The external id associated to this team
- incident
Broadcast Property MapChannel - Map must contain two fields,
idandname. Slack channel to broadcast incidents to - incident
Broadcast BooleanEnabled - Enable incidents to be broadcasted to a specific channel. Value must be one of true or false
- name String
- The name of the team
- notify
Emails List<String> - Emails to attach to the team
- opsgenie
Id String - The Opsgenie group id associated to this team
- pagerduty
Id String - The PagerDuty group id associated to this team
- pagerduty
Service StringId - The PagerDuty service id associated to this team
- pagertree
Id String - The PagerTree group id associated to this team
- position Number
- Position of the team
- properties List<Property Map>
- Array of property values for this team.
- service
Now StringCi Sys Id - The Service Now CI sys id associated to this team
- slack
Aliases List<Property Map> - Slack Aliases associated with this team
- slack
Channels List<Property Map> - Slack Channels associated with this team
- slug String
- user
Ids List<Number> - The user ids of the members of this team.
- victor
Ops StringId - The VictorOps group id associated to this team
Supporting Types
TeamAlertBroadcastChannel, TeamAlertBroadcastChannelArgs
TeamIncidentBroadcastChannel, TeamIncidentBroadcastChannelArgs
TeamProperty, TeamPropertyArgs
- Catalog
Property stringId - Catalog property ID
- Value string
- The property value
- Catalog
Property stringId - Catalog property ID
- Value string
- The property value
- catalog
Property StringId - Catalog property ID
- value String
- The property value
- catalog
Property stringId - Catalog property ID
- value string
- The property value
- catalog_
property_ strid - Catalog property ID
- value str
- The property value
- catalog
Property StringId - Catalog property ID
- value String
- The property value
TeamSlackAlias, TeamSlackAliasArgs
TeamSlackChannel, TeamSlackChannelArgs
Import
rootly.Team can be imported using the import command.
$ pulumi import rootly:index/team:Team 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
