IAM Group Data Source does not return iam members in group #10652
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/iam
Issues and PRs that pertain to the iam service.
Community Note
Description
Right now the data source aws_iam_group returns
arn
,path
, andgroup_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)
The text was updated successfully, but these errors were encountered: