Misconfigured PodExecutionRole

0

I'm attempting to startup an EKS pod following the getting started guide.

When on the step add a Fargate Profile I'm getting the following error.

"Misconfigured PodExecutionRole Trust Policy; Please add the eks-fargate-pods.amazonaws.com Service Principal"

However it's already added to my trust policy. So not sure what to do

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Service": "eks-fargate-pods.amazonaws.com" }, "Action": "sts:AssumeRole", "Condition": { "ArnLike": { "aws:SourceArn": "arn:aws:<region>:111122223333:fargateprofile/<pod name>/*" } } } ] }

I'm currently following this step.

https://docs.aws.amazon.com/eks/latest/userguide/getting-started-console.html

1 réponse
0
Réponse acceptée

The issue was my account number was typed incorrectly. It's fixed now.

répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions