Use this data source to get information about a specific team's members.
data "pagerduty_team" "devops" {
name = "devops"
}
data "pagerduty_team_members" "devops_members" {
team_id = data.pagerduty_team.devops.id
}
The following arguments are supported:
team_id
- (Required) The ID of the team to find in the PagerDuty API.id
- The ID of the found team.members
- The users of the found team.members
) supports the following:id
- The ID of the found user.role
- The team role of the found user.type
- The type of object. The value returned will be user_reference
. Can be used for passing to another object as dependency.summary
- A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to name, though it is not intended to be an identifier.