An AWS CLI tutorial that demonstrates Iam operations.
bash iam-groups.shTo auto-run with cleanup:
echo 'y' | bash iam-groups.sh- Creating group: $G"; aws iam create-group --group-name "$G
- Attaching policy"; aws iam attach-group-policy --group-name "$G
- Describing group"; aws iam get-group --group-name "$G
- Listing attached policies"; aws iam list-attached-group-policies --group-name "$G
- Group
The script prompts you to clean up resources when it finishes.
Free tier eligible for most operations. Clean up resources after use to avoid charges.