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

Data resource to list all members of tfe_organization #252

Closed
levid0s opened this issue Dec 9, 2020 · 1 comment
Closed

Data resource to list all members of tfe_organization #252

levid0s opened this issue Dec 9, 2020 · 1 comment

Comments

@levid0s
Copy link

levid0s commented Dec 9, 2020

It would be handy to have a data resource that returns all users that are member of a particular TFE org.

For example:

data "tfe_organization" "test" {
   organization = "my-org-name"
}

Attributes Reference:

  • admin_email: Admin email address
  • members: List of users who are members of the TFE organization.
  • members_waiting: List of users who have not yet accepted their invite to join the TFE org.

PS: In an enterprise setting I don't see why users need to click on invitations, seems like an unnecessary step to me.

@annawinkler
Copy link
Contributor

This issue has been addressed via this PR.

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

No branches or pull requests

3 participants