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 Answer
0
Accepted Answer

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

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions