Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- STUDENTS=$(cat << EOF
- alice.wonderland
- betty.bu
- charlie.candy
- EOF
- )
- echo $STUDENTS
- for VAL in $STUDENTS
- do
- echo $VAL
- aws iam create-user --user-name $VAL
- aws iam create-login-profile --user-name $VAL --password alpha@1234
- aws iam add-user-to-group --user-name $VAL --group-name students
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement