H
H
haviras2020-06-08 14:38:44
Amazon Web Services
haviras, 2020-06-08 14:38:44

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
5ede22e849bf3041673396.png
. At the same time, the role itself is there,

5ede233258913189338976.png

but something doesn’t work

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vilinyh, 2020-06-09
@vilinyh

Apparently, the necessary policies are not attached to the role:
- arn:aws:iam::aws:policy/AmazonEKSClusterPolicy
- arn:aws:iam::aws:policy/AmazonEKSServicePolicy
5edf392157fd1067779650.png
Do not forget to set Trust Relation

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal": {
        "Service": "eks.amazonaws.com"
      },
      "Action": "sts:AssumeRole"
    }
  ]
}

And update the list of roles on the form:
5edf392b9d114082425696.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question