How do you add a user to a group?

Through the AWS Management Console

1. Open IAM. Sign in to the AWS Management Console and search for IAM in the top search bar.
2. Select the group. In the left navigation pane, choose User groups and click the name of the group you want to update.
3. Open the Users tab. On the group's details page, select the Users tab.
4. Add the user. Click Add users, check the box next to the user(s) you want

Run the aws command iam add-user-to-group.
الرجاء تسجيل الدخول للسؤال والإجابة والمشاركة والإبداء والتصويت.