Answer the question
In order to leave comments, you need to log in
How to assign an IAM role to create an EKS cluster?
I can’t understand why the IAM role is not pulled up when creating a cluster
. At the same time, the role itself is there,
but something doesn’t work
Answer the question
In order to leave comments, you need to log in
Apparently, the necessary policies are not attached to the role:
- arn:aws:iam::aws:policy/AmazonEKSClusterPolicy
- arn:aws:iam::aws:policy/AmazonEKSServicePolicy
Do not forget to set Trust Relation
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "eks.amazonaws.com"
},
"Action": "sts:AssumeRole"
}
]
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question