Difference between revisions of "--role-arn"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
  
 
   [[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
 
   [[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
 +
 +
[[aws eks update-kubeconfig --name YOUR-EKS-CLUSTER-NAME --region aws-region --role-arn]]
  
 
== Related ==
 
== Related ==

Revision as of 14:14, 2 September 2022

--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
aws eks update-kubeconfig --name YOUR-EKS-CLUSTER-NAME --region aws-region --role-arn

Related

See also

Advertising: