Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 773 Bytes

File metadata and controls

37 lines (22 loc) · 773 Bytes

Iam Groups

An AWS CLI tutorial that demonstrates Iam operations.

Running

bash iam-groups.sh

To auto-run with cleanup:

echo 'y' | bash iam-groups.sh

What it does

  1. Creating group: $G"; aws iam create-group --group-name "$G
  2. Attaching policy"; aws iam attach-group-policy --group-name "$G
  3. Describing group"; aws iam get-group --group-name "$G
  4. Listing attached policies"; aws iam list-attached-group-policies --group-name "$G

Resources created

  • Group

The script prompts you to clean up resources when it finishes.

Cost

Free tier eligible for most operations. Clean up resources after use to avoid charges.

Related docs