Closed NinoSkopac closed 1 week ago
It's because I have multiple profiles, I'm guessing?
This works
docker run --rm -it -e AWS_REGION=us-east-1 -e AWS_PROFILE=$AWS_PROFILE -v ~/.aws:/root/.aws -v $(pwd):/eksctl public.ecr.aws/eksctl/eksctl get cluster
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
From https://gallery.ecr.aws/eksctl/eksctl:
With AWS credentials
Error: AWS Region must be set, please set the AWS Region in AWS config file or as environment variable
Then I try
Error: checking AWS STS access – cannot get role ARN for current session: operation error STS: GetCallerIdentity, get identity: get credentials: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, canceled, context deadline exceeded