Difference between revisions of "Aws iam add-role-to-instance-profile"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 
* https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/add-role-to-instance-profile.html
 
* https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/add-role-to-instance-profile.html
 +
 +
The caller of this operation must be granted the <code>[[PassRole]]</code> permission on the IAM role by a [[permissions policy]].
 +
 +
  
 
   [[aws iam]] add-role-to-instance-profile
 
   [[aws iam]] add-role-to-instance-profile
Line 17: Line 21:
 
* [[Policies]]: <code>[[arn:aws:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy]]</code>
 
* [[Policies]]: <code>[[arn:aws:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy]]</code>
  
 +
An error occurred ([[ValidationError]]) when calling the [[AddRoleToInstanceProfile]] operation: The specified value for roleName is invalid. It must contain only alphanumeric characters and/or the following: +=,.@_-
 +
 +
== Related ==
 +
* [[IAM roles for EC2 instances]]
  
 
== See also ==
 
== See also ==

Latest revision as of 14:19, 31 August 2023

Advertising: