SharedConfigLoadError while creating Amazon EKS Cluster

2/12/2020

When trying to run this on terminal,

eksctl create cluster \
--name dev \
--version 1.14 \
--region us-west-2 \
--nodegroup-name demo \
--node-type t3.medium \
--nodes 3 \
--nodes-min 1 \
--nodes-max 4 \
--ssh-access \
--ssh-public-key my-public-key.pub \
--managed

Getting this error:

panic: SharedConfigLoadError: failed to load config file, /home/thira/.aws/credentials caused by: INIParseError: invalid state with ASTKind {completed_stmt {0 NONE 0 []} false [{section_stmt {1 STRING 0 [78 111 110 101]} true []}]} and TokenType op

-- Thira
amazon-eks
amazon-web-services
aws-eks
eksctl
kubernetes

0 Answers