Difference between revisions of "--role-arn"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<code>--role-arn</code> is the [[Amazon Resource Name]] (ARN) of the [[AWS IAM role|IAM role]] that provides permissions for the Kubernetes [[control plane]] to make calls to [[Amazon Web Services API]] operations on your behalf | <code>--role-arn</code> is the [[Amazon Resource Name]] (ARN) of the [[AWS IAM role|IAM role]] that provides permissions for the Kubernetes [[control plane]] to make calls to [[Amazon Web Services API]] operations on your behalf | ||
+ | |||
+ | [[aws eks create-cluster]] --name prod [[--role-arn]] arn:aws:iam::012345678910:role/eks-service-role-AWSServiceRoleForAmazonEKS-J7ONKE3BQ4PI [[--resources-vpc-config subnetIds]]=subnet-6782e71e,subnet-e7e761ac,securityGroupIds=sg-6979fe18 | ||
== See also == | == See also == |
Revision as of 19:02, 12 November 2021
--role-arn
is the Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane to make calls to Amazon Web Services API operations on your behalf
aws eks create-cluster --name prod --role-arn arn:aws:iam::012345678910:role/eks-service-role-AWSServiceRoleForAmazonEKS-J7ONKE3BQ4PI --resources-vpc-config subnetIds=subnet-6782e71e,subnet-e7e761ac,securityGroupIds=sg-6979fe18
See also
Advertising: