You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently pagerduty_team data source only returns 3 attributes as listed in this doc https://www.terraform.io/docs/providers/pagerduty/d/team.html. It would a great use of the the team data source if it also returned the users in that team as an attribute.
One of the use case that I currently was working is, when creating a pagerduty schedule you have to provide a list of users to add to the schedule. But if you have teams created and those teams have users associated with it then we can simply fetch the user ids from the team data source and pass it into pagerduty_schedule resource rather than passing in user id which are retrieved using the user data source.
Currently
pagerduty_team
data source only returns 3 attributes as listed in this doc https://www.terraform.io/docs/providers/pagerduty/d/team.html. It would a great use of the the team data source if it also returned the users in that team as an attribute.One of the use case that I currently was working is, when creating a pagerduty schedule you have to provide a list of users to add to the schedule. But if you have teams created and those teams have users associated with it then we can simply fetch the user ids from the team data source and pass it into pagerduty_schedule resource rather than passing in user id which are retrieved using the user data source.
Would appreciate any feedback on this request.
Terraform Version
Terraform v0.12.29
Affected Resource(s)
https://www.terraform.io/docs/providers/pagerduty/d/team.html
The text was updated successfully, but these errors were encountered: