Why: A company is migrating to AWS. It needs to migrate the users, set their passwords and add them to their respective groups. Howerver, they only provided a .csv file with the date.
How: Instead of manually creating the users in AWS IAM, a better alternative is to automate the task using Terraform.
What it does:
- Creates groups
- Creates Policies
- Creates Users
- Sets password to Users
- Enforces MFA to Users
- Adds Users to Groups
Obviously, the .csv file wwould be elsewhere, not in a repo ( and public repo)! A local dummy data is being used just for the sake of the demonstration.
Github does not support viewing PDFs. Please download the PDF to view it: Download PDF.