0
respostas

Eu não consigo criar o cluster via cli.

aws eks create-cluster --name producao --role-arn arn:aws:iam::450746498816:role/eks-cluster-role --resources-vpc-config subnetIds=subnet-02cca3ce179204e0d,subnet-01df25439e2c1e9ad,subnet-039a52b711e82a14d An error occurred (UnrecognizedClientException) when calling the CreateCluster operation: The security token included in the request is invalid.

Sem usar o securityGroup da esse erro, se uso o securityGroup dá erro de comando desconhecido:

Unknown options: securityGroupIds=sg-0b068ff8672a0fe5a

aws eks create-cluster --name producao --role-arn arn:aws:iam::450746498816:role/eks-cluster-role --resources-vpc-config subnetIds=subnet-02cca3ce179204e0d,subnet-01df25439e2c1e9ad,subnet-039a52b711e82a14d, securityGroupIds=sg-0b068ff8672a0fe5a

Você não explicou com qual usuário deve se logar no aws configure