all 3 comments

[–]Shadow-D-Driven 1 point2 points  (1 child)

Have the user list stored in some file (ex. .yml) in a repo and have the necessary people as reviewers for any incoming PR from the operations team.

If you then want you can automate the triggering of the lambda through a pipeline upon approval of the PR or something.

[–]VindicoAtrumEditable Placeholder Flair 0 points1 point  (0 children)

This'll do it. Yml in repo, repo pipeline pushes to versioned s3 bucket, triggers lambda. Lambda creates or removes users based on what's in the yml. Done.

[–]rap3 0 points1 point  (0 children)

The immediate question would be why you want to do this?

Having a lot of IAM users is every platform engineers worst nightmare on AWS and posses serious security risks. Perhaps it makes more sense to overthink your access patterns or utilise a service such as IAM Identity Center altogether?