Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return users associated with the team for pagerduty_team data source #262

Open
saraogivinay opened this issue Aug 12, 2020 · 5 comments
Open

Comments

@saraogivinay
Copy link

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

  • provider.pagerduty v1.7.4

Affected Resource(s)

  • pagerduty_team data source

https://www.terraform.io/docs/providers/pagerduty/d/team.html

@saraogivinay
Copy link
Author

#103 seems to be related to this

@corymatheson
Copy link

#103 seems to be ~3 years old now. Is there any chance of getting this merged?

@lokenorlinjohannessen
Copy link

@corymatheson I also need this, so going to create a updated PR and try to get it merged into the provider.

@franklinlindemberg
Copy link

Im looking forward to this as well

@doryer
Copy link

doryer commented May 9, 2022

I am looking forward for this as well, waiting for #346 to be merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants