Skip to content

Latest commit

 

History

History

101-Creating-and-Assuming-an-IAM-Role

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Creating and Assuming an IAM Role for Developer Access

Clean up

Detach the PowerUserAccess policy from the role:

aws iam detach-role-policy --role-name AWSCookbook101Role \
--policy-arn arn:aws:iam::aws:policy/PowerUserAccess

Delete the IAM role:

aws iam delete-role --role-name AWSCookbook101Role

Unset your local variables:

unset ROLE_ARN
unset PRINCIPAL_ARN