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

IAM Group Data Source does not return iam members in group #10652

Closed
dminnear opened this issue Oct 28, 2019 · 2 comments
Closed

IAM Group Data Source does not return iam members in group #10652

dminnear opened this issue Oct 28, 2019 · 2 comments
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/iam Issues and PRs that pertain to the iam service.

Comments

@dminnear
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Right now the data source aws_iam_group returns arn, path, and group_id. Our team has a few use cases (especially with Terraform v12) for getting users from a group and using those iam users for further interpolation.

The aws sdk call we are making (GetGroup) in data_source_aws_iam_group.go already supports returning a paginated list of users. In fact, resourceAwsIamGroupMembershipRead in resource_aws_iam_group_membership.go currently fetches all the users in a group.

New or Affected Resource(s)

  • data_source_aws_iam_group
@dminnear dminnear added the enhancement Requests to existing resources that expand the functionality or scope. label Oct 28, 2019
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Oct 28, 2019
@bflad bflad added the service/iam Issues and PRs that pertain to the iam service. label Nov 7, 2019
@bflad
Copy link
Contributor

bflad commented Nov 7, 2019

Hi folks 👋 Please note that this feature request appears to be a duplicate of the previous issue #7076 with associated pull request #7132. To consolidate discussions and efforts, I'm going to close this issue in preference of those. Thanks.

@bflad bflad closed this as completed Nov 7, 2019
@ghost
Copy link

ghost commented Mar 29, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 29, 2020
@breathingdust breathingdust removed the needs-triage Waiting for first response or review from a maintainer. label Sep 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/iam Issues and PRs that pertain to the iam service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants