I'd like to see aws_identitystore_users added as a data source. Its output would be analogous to aws_identitystore_groups - a list of users provisioned in the identity store.
This would be particularly useful for using Terraform to onboard new employees or customers. For example, say my users are provisioned via a different HR process. I can use this with for_each to create a personal S3 bucket for each new user, and manage access and lifecycle policies accordingly.
Requested Resource(s) and/or Data Source(s)
aws_identitystore_users
Potential Terraform Configuration
data "aws_identitystore_users" "example" {
identity_store_id = data.aws_ssoadmin_instances.example.identity_store_ids[0]
}
References
Issue #26770 requested adding both aws_identitystore_groups and aws_identitystore_users data sources, but was closed when aws_identitystore_groups was added.
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Description
I'd like to see
aws_identitystore_users
added as a data source. Its output would be analogous toaws_identitystore_groups
- a list of users provisioned in the identity store.This would be particularly useful for using Terraform to onboard new employees or customers. For example, say my users are provisioned via a different HR process. I can use this with
for_each
to create a personal S3 bucket for each new user, and manage access and lifecycle policies accordingly.Requested Resource(s) and/or Data Source(s)
aws_identitystore_users
Potential Terraform Configuration
References
Issue #26770 requested adding both
aws_identitystore_groups
andaws_identitystore_users
data sources, but was closed whenaws_identitystore_groups
was added.Would you like to implement a fix?
None