Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

aws cli ec2 how to change IAM role

$aws ec2 replace-iam-instance-profile-association --association-id YourCurrentAssociation-id --iam-instance-profile Name=YourReplacementRole-Instance-Profile 
Source by aws.amazon.com #
 
PREVIOUS NEXT
Tagged: #aws #cli #change #IAM #role
ADD COMMENT
Topic
Name
5+5 =