Difference between revisions of "Aws iam attach-role-policy"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
aws iam attach-role-policy --role-name YOUR_ROLE_NAME [[--policy-arn]] 'arn:aws:iam::aws:policy/[[AmazonS3FullAccess]]' | aws iam attach-role-policy --role-name YOUR_ROLE_NAME [[--policy-arn]] 'arn:aws:iam::aws:policy/[[AmazonS3FullAccess]]' | ||
− | aws iam attach-role-policy --role-name eksctl-YOUR_CLUSTER-NAME-nodegroup-standar-[[NodeInstanceRole]]-KOHNsadE2Zx --policy-arn 'arn:aws:iam::aws:policy/[[AmazonS3FullAccess]]' | + | aws iam attach-role-policy --role-name [[eksctl]]-YOUR_CLUSTER-NAME-nodegroup-standar-[[NodeInstanceRole]]-KOHNsadE2Zx --policy-arn 'arn:aws:iam::aws:policy/[[AmazonS3FullAccess]]' |
(no output) | (no output) | ||
Revision as of 11:35, 28 June 2022
aws iam attach-role-policy
aws iam attach-role-policy (no output)
aws iam attach-role-policy --role-name YOUR_ROLE_NAME --policy-arn 'arn:aws:iam::aws:policy/AmazonS3FullAccess'
aws iam attach-role-policy --role-name eksctl-YOUR_CLUSTER-NAME-nodegroup-standar-NodeInstanceRole-KOHNsadE2Zx --policy-arn 'arn:aws:iam::aws:policy/AmazonS3FullAccess' (no output)
Related
See also
- AWS IAM role, AWS service roles, AWS IAM Roles Anywhere: [
list-roles | get-role | create-role | put-role-policy | create-service-linked-role | attach-role-policy | update-role | add-role-to-instance-profile ], aws ec2 describe-iam-instance-profile-associations ]
, IAM roles for EC2 instances,AWSServiceRoleForAutoScaling
Advertising: